Class UploadModelResponse (2.4.0)

public final class UploadModelResponse extends GeneratedMessageV3 implements UploadModelResponseOrBuilder

Response message of ModelService.UploadModel operation.

Protobuf type google.cloud.aiplatform.v1beta1.UploadModelResponse

Fields

MODEL_FIELD_NUMBER

public static final int MODEL_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

public static UploadModelResponse getDefaultInstance()
Returns
TypeDescription
UploadModelResponse

getDefaultInstanceForType()

public UploadModelResponse getDefaultInstanceForType()
Returns
TypeDescription
UploadModelResponse

getDescriptor()

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

getModel()

public String getModel()

The name of the uploaded Model resource. Format: projects/{project}/locations/{location}/models/{model}

string model = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The model.

getModelBytes()

public ByteString getModelBytes()

The name of the uploaded Model resource. Format: projects/{project}/locations/{location}/models/{model}

string model = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for model.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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

newBuilder()

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

newBuilder(UploadModelResponse prototype)

public static UploadModelResponse.Builder newBuilder(UploadModelResponse prototype)
Parameter
NameDescription
prototypeUploadModelResponse
Returns
TypeDescription
UploadModelResponse.Builder

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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