publicstaticfinalclass BatchOptimizeToursRequest.BuilderextendsGeneratedMessageV3.Builder<BatchOptimizeToursRequest.Builder>implementsBatchOptimizeToursRequestOrBuilder
Request to batch optimize tours as an asynchronous operation.
Each input file should contain one OptimizeToursRequest, and each output
file will contain one OptimizeToursResponse. The request contains
information to read/write and parse the files. All the input and output files
should be under the same project.
Protobuf type google.cloud.optimization.v1.BatchOptimizeToursRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addAllModelConfigs(Iterable<? extends BatchOptimizeToursRequest.AsyncModelConfig> values)
publicBatchOptimizeToursRequest.BuilderaddAllModelConfigs(Iterable<?extendsBatchOptimizeToursRequest.AsyncModelConfig>values)
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig>
|
addModelConfigs(BatchOptimizeToursRequest.AsyncModelConfig value)
publicBatchOptimizeToursRequest.BuilderaddModelConfigs(BatchOptimizeToursRequest.AsyncModelConfigvalue)
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
addModelConfigs(BatchOptimizeToursRequest.AsyncModelConfig.Builder builderForValue)
publicBatchOptimizeToursRequest.BuilderaddModelConfigs(BatchOptimizeToursRequest.AsyncModelConfig.BuilderbuilderForValue)
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
addModelConfigs(int index, BatchOptimizeToursRequest.AsyncModelConfig value)
publicBatchOptimizeToursRequest.BuilderaddModelConfigs(intindex,BatchOptimizeToursRequest.AsyncModelConfigvalue)
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
addModelConfigs(int index, BatchOptimizeToursRequest.AsyncModelConfig.Builder builderForValue)
publicBatchOptimizeToursRequest.BuilderaddModelConfigs(intindex,BatchOptimizeToursRequest.AsyncModelConfig.BuilderbuilderForValue)
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
addModelConfigsBuilder()
publicBatchOptimizeToursRequest.AsyncModelConfig.BuilderaddModelConfigsBuilder()
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
addModelConfigsBuilder(int index)
publicBatchOptimizeToursRequest.AsyncModelConfig.BuilderaddModelConfigsBuilder(intindex)
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicBatchOptimizeToursRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicBatchOptimizeToursRequestbuild()
buildPartial()
publicBatchOptimizeToursRequestbuildPartial()
clear()
publicBatchOptimizeToursRequest.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicBatchOptimizeToursRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearModelConfigs()
publicBatchOptimizeToursRequest.BuilderclearModelConfigs()
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
publicBatchOptimizeToursRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearParent()
publicBatchOptimizeToursRequest.BuilderclearParent()
Required. Target project and location to make a call.
Format: projects/{project-id}/locations/{location-id}.
If no location is specified, a region will be chosen automatically.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
publicBatchOptimizeToursRequest.Builderclone()
Overrides
getDefaultInstanceForType()
publicBatchOptimizeToursRequestgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getModelConfigs(int index)
publicBatchOptimizeToursRequest.AsyncModelConfiggetModelConfigs(intindex)
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getModelConfigsBuilder(int index)
publicBatchOptimizeToursRequest.AsyncModelConfig.BuildergetModelConfigsBuilder(intindex)
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getModelConfigsBuilderList()
publicList<BatchOptimizeToursRequest.AsyncModelConfig.Builder>getModelConfigsBuilderList()
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
getModelConfigsCount()
publicintgetModelConfigsCount()
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
getModelConfigsList()
publicList<BatchOptimizeToursRequest.AsyncModelConfig>getModelConfigsList()
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
getModelConfigsOrBuilder(int index)
publicBatchOptimizeToursRequest.AsyncModelConfigOrBuildergetModelConfigsOrBuilder(intindex)
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getModelConfigsOrBuilderList()
publicList<?extendsBatchOptimizeToursRequest.AsyncModelConfigOrBuilder>getModelConfigsOrBuilderList()
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfigOrBuilder> |
getParent()
Required. Target project and location to make a call.
Format: projects/{project-id}/locations/{location-id}.
If no location is specified, a region will be chosen automatically.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The parent.
|
getParentBytes()
publicByteStringgetParentBytes()
Required. Target project and location to make a call.
Format: projects/{project-id}/locations/{location-id}.
If no location is specified, a region will be chosen automatically.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for parent.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(BatchOptimizeToursRequest other)
publicBatchOptimizeToursRequest.BuildermergeFrom(BatchOptimizeToursRequestother)
publicBatchOptimizeToursRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicBatchOptimizeToursRequest.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalBatchOptimizeToursRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
removeModelConfigs(int index)
publicBatchOptimizeToursRequest.BuilderremoveModelConfigs(intindex)
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
publicBatchOptimizeToursRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setModelConfigs(int index, BatchOptimizeToursRequest.AsyncModelConfig value)
publicBatchOptimizeToursRequest.BuildersetModelConfigs(intindex,BatchOptimizeToursRequest.AsyncModelConfigvalue)
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
setModelConfigs(int index, BatchOptimizeToursRequest.AsyncModelConfig.Builder builderForValue)
publicBatchOptimizeToursRequest.BuildersetModelConfigs(intindex,BatchOptimizeToursRequest.AsyncModelConfig.BuilderbuilderForValue)
Required. Input/Output information each purchase model, such as file paths
and data formats.
repeated .google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfig model_configs = 2 [(.google.api.field_behavior) = REQUIRED];
setParent(String value)
publicBatchOptimizeToursRequest.BuildersetParent(Stringvalue)
Required. Target project and location to make a call.
Format: projects/{project-id}/locations/{location-id}.
If no location is specified, a region will be chosen automatically.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
publicBatchOptimizeToursRequest.BuildersetParentBytes(ByteStringvalue)
Required. Target project and location to make a call.
Format: projects/{project-id}/locations/{location-id}.
If no location is specified, a region will be chosen automatically.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicBatchOptimizeToursRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalBatchOptimizeToursRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides