Class BatchOptimizeToursResponse (1.25.0)

public final class BatchOptimizeToursResponse extends GeneratedMessageV3 implements BatchOptimizeToursResponseOrBuilder

Response to a BatchOptimizeToursRequest. This is returned in the LRO Operation after the operation is complete.

Protobuf type google.cloud.optimization.v1.BatchOptimizeToursResponse

Static Methods

getDefaultInstance()

public static BatchOptimizeToursResponse getDefaultInstance()
Returns
TypeDescription
BatchOptimizeToursResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BatchOptimizeToursResponse.Builder newBuilder()
Returns
TypeDescription
BatchOptimizeToursResponse.Builder

newBuilder(BatchOptimizeToursResponse prototype)

public static BatchOptimizeToursResponse.Builder newBuilder(BatchOptimizeToursResponse prototype)
Parameter
NameDescription
prototypeBatchOptimizeToursResponse
Returns
TypeDescription
BatchOptimizeToursResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchOptimizeToursResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchOptimizeToursResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchOptimizeToursResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchOptimizeToursResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchOptimizeToursResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchOptimizeToursResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchOptimizeToursResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchOptimizeToursResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchOptimizeToursResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchOptimizeToursResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchOptimizeToursResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchOptimizeToursResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchOptimizeToursResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchOptimizeToursResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchOptimizeToursResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchOptimizeToursResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchOptimizeToursResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchOptimizeToursResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchOptimizeToursResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchOptimizeToursResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchOptimizeToursResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchOptimizeToursResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchOptimizeToursResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchOptimizeToursResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BatchOptimizeToursResponse> parser()
Returns
TypeDescription
Parser<BatchOptimizeToursResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BatchOptimizeToursResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchOptimizeToursResponse

getParserForType()

public Parser<BatchOptimizeToursResponse> getParserForType()
Returns
TypeDescription
Parser<BatchOptimizeToursResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchOptimizeToursResponse.Builder newBuilderForType()
Returns
TypeDescription
BatchOptimizeToursResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchOptimizeToursResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchOptimizeToursResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchOptimizeToursResponse.Builder toBuilder()
Returns
TypeDescription
BatchOptimizeToursResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException