public static final class BatchOptimizeToursRequest.Builder extends GeneratedMessageV3.Builder<BatchOptimizeToursRequest.Builder> implements BatchOptimizeToursRequestOrBuilder
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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllModelConfigs(Iterable<? extends BatchOptimizeToursRequest.AsyncModelConfig> values)
public BatchOptimizeToursRequest.Builder addAllModelConfigs(Iterable<? extends BatchOptimizeToursRequest.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)
public BatchOptimizeToursRequest.Builder addModelConfigs(BatchOptimizeToursRequest.AsyncModelConfig value)
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)
public BatchOptimizeToursRequest.Builder addModelConfigs(BatchOptimizeToursRequest.AsyncModelConfig.Builder builderForValue)
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)
public BatchOptimizeToursRequest.Builder addModelConfigs(int index, BatchOptimizeToursRequest.AsyncModelConfig value)
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)
public BatchOptimizeToursRequest.Builder addModelConfigs(int index, BatchOptimizeToursRequest.AsyncModelConfig.Builder builderForValue)
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()
public BatchOptimizeToursRequest.AsyncModelConfig.Builder addModelConfigsBuilder()
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)
public BatchOptimizeToursRequest.AsyncModelConfig.Builder addModelConfigsBuilder(int index)
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)
public BatchOptimizeToursRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BatchOptimizeToursRequest build()
buildPartial()
public BatchOptimizeToursRequest buildPartial()
clear()
public BatchOptimizeToursRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchOptimizeToursRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearModelConfigs()
public BatchOptimizeToursRequest.Builder clearModelConfigs()
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)
public BatchOptimizeToursRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public BatchOptimizeToursRequest.Builder clearParent()
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()
public BatchOptimizeToursRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchOptimizeToursRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getModelConfigs(int index)
public BatchOptimizeToursRequest.AsyncModelConfig getModelConfigs(int index)
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)
public BatchOptimizeToursRequest.AsyncModelConfig.Builder getModelConfigsBuilder(int index)
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()
public List<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()
public int getModelConfigsCount()
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()
public List<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)
public BatchOptimizeToursRequest.AsyncModelConfigOrBuilder getModelConfigsOrBuilder(int index)
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()
public List<? extends BatchOptimizeToursRequest.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()
public String 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()
public ByteString getParentBytes()
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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchOptimizeToursRequest other)
public BatchOptimizeToursRequest.Builder mergeFrom(BatchOptimizeToursRequest other)
public BatchOptimizeToursRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchOptimizeToursRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchOptimizeToursRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeModelConfigs(int index)
public BatchOptimizeToursRequest.Builder removeModelConfigs(int index)
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)
public BatchOptimizeToursRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setModelConfigs(int index, BatchOptimizeToursRequest.AsyncModelConfig value)
public BatchOptimizeToursRequest.Builder setModelConfigs(int index, BatchOptimizeToursRequest.AsyncModelConfig value)
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)
public BatchOptimizeToursRequest.Builder setModelConfigs(int index, BatchOptimizeToursRequest.AsyncModelConfig.Builder builderForValue)
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)
public BatchOptimizeToursRequest.Builder setParent(String value)
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)
public BatchOptimizeToursRequest.Builder setParentBytes(ByteString value)
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)
public BatchOptimizeToursRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchOptimizeToursRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides