publicfinalclass BatchOptimizeToursRequestextendsGeneratedMessageV3implementsBatchOptimizeToursRequestOrBuilder
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.<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
MODEL_CONFIGS_FIELD_NUMBER
publicstaticfinalintMODEL_CONFIGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PARENT_FIELD_NUMBER
publicstaticfinalintPARENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticBatchOptimizeToursRequestgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticBatchOptimizeToursRequest.BuildernewBuilder()
newBuilder(BatchOptimizeToursRequest prototype)
publicstaticBatchOptimizeToursRequest.BuildernewBuilder(BatchOptimizeToursRequestprototype)
publicstaticBatchOptimizeToursRequestparseDelimitedFrom(InputStreaminput)
publicstaticBatchOptimizeToursRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticBatchOptimizeToursRequestparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticBatchOptimizeToursRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticBatchOptimizeToursRequestparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticBatchOptimizeToursRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticBatchOptimizeToursRequestparseFrom(CodedInputStreaminput)
publicstaticBatchOptimizeToursRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticBatchOptimizeToursRequestparseFrom(InputStreaminput)
publicstaticBatchOptimizeToursRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticBatchOptimizeToursRequestparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticBatchOptimizeToursRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<BatchOptimizeToursRequest>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicBatchOptimizeToursRequestgetDefaultInstanceForType()
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
|
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.
|
getParserForType()
publicParser<BatchOptimizeToursRequest>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicBatchOptimizeToursRequest.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedBatchOptimizeToursRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicBatchOptimizeToursRequest.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides