Send feedback
  
   
 
  
    
      Class BatchOptimizeToursRequest.AsyncModelConfig (1.43.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 1.43.0keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   static   final   class  BatchOptimizeToursRequest . AsyncModelConfig   extends   GeneratedMessageV3   implements   BatchOptimizeToursRequest . AsyncModelConfigOrBuilder  
   
   Information for solving one optimization model asynchronously.
 Protobuf type google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  DISPLAY_NAME_FIELD_NUMBER 
  
    
public   static   final   int   DISPLAY_NAME_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  ENABLE_CHECKPOINTS_FIELD_NUMBER 
  
    
public   static   final   int   ENABLE_CHECKPOINTS_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  
  
    
public   static   final   int   INPUT_CONFIG_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  OUTPUT_CONFIG_FIELD_NUMBER 
  
    
public   static   final   int   OUTPUT_CONFIG_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig   getDefaultInstance ()  
   
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  newBuilder() 
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig . Builder   newBuilder ()  
   
  
   
  newBuilder(BatchOptimizeToursRequest.AsyncModelConfig prototype) 
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig . Builder   newBuilder ( BatchOptimizeToursRequest . AsyncModelConfig   prototype )  
   
  
  
   
  
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(byte[] data) 
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteString data) 
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig   parseFrom ( ByteString   data )  
   
  
  
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   BatchOptimizeToursRequest . AsyncModelConfig   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parser() 
  
    
public   static   Parser<BatchOptimizeToursRequest . AsyncModelConfig >  parser ()  
   
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  getDefaultInstanceForType() 
  
    
public   BatchOptimizeToursRequest . AsyncModelConfig   getDefaultInstanceForType ()  
   
  
   
  getDisplayName() 
  
    
public   String   getDisplayName ()  
   
   User defined model name, can be used as alias by users to keep track of
 models.
 string display_name = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The displayName.
 
       
     
  
   
  getDisplayNameBytes() 
  
    
public   ByteString   getDisplayNameBytes ()  
   
   User defined model name, can be used as alias by users to keep track of
 models.
 string display_name = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for displayName.
 
       
     
  
   
  getEnableCheckpoints() 
  
    
public   boolean   getEnableCheckpoints ()  
   
   If this is set, the model will be solved in the checkpoint mode. In this
 mode, the input model can have a deadline longer than 30 mins without the
 risk of interruption. The model will be solved in multiple short-running
 stages. Each stage generates an intermediate checkpoint
 and stores it in the user's Cloud Storage buckets. The checkpoint
 mode should be preferred over
 allow_large_deadline_despite_interruption_risk since it prevents the risk
 of interruption.
 bool enable_checkpoints = 4;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        The enableCheckpoints.
 
       
     
  
   
  
  
    
public   InputConfig   getInputConfig ()  
   
   Required. Information about the input model.
 
 .google.cloud.optimization.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
 
 
  
   
  
  
    
public   InputConfigOrBuilder   getInputConfigOrBuilder ()  
   
   Required. Information about the input model.
 
 .google.cloud.optimization.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
 
 
  
   
  getOutputConfig() 
  
    
public   OutputConfig   getOutputConfig ()  
   
   Required. The desired output location information.
 
 .google.cloud.optimization.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
 
 
  
   
  getOutputConfigOrBuilder() 
  
    
public   OutputConfigOrBuilder   getOutputConfigOrBuilder ()  
   
   Required. The desired output location information.
 
 .google.cloud.optimization.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
 
 
  
   
  getParserForType() 
  
    
public   Parser<BatchOptimizeToursRequest . AsyncModelConfig >  getParserForType ()  
   
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  
  
    
public   boolean   hasInputConfig ()  
   
   Required. Information about the input model.
 
 .google.cloud.optimization.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the inputConfig field is set.
 
       
     
  
   
  hasOutputConfig() 
  
    
public   boolean   hasOutputConfig ()  
   
   Required. The desired output location information.
 
 .google.cloud.optimization.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the outputConfig field is set.
 
       
     
  
   
  hashCode() 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   BatchOptimizeToursRequest . AsyncModelConfig . Builder   newBuilderForType ()  
   
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   BatchOptimizeToursRequest . AsyncModelConfig . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   BatchOptimizeToursRequest . AsyncModelConfig . Builder   toBuilder ()  
   
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
 
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]