public final class UploadModelResponse extends GeneratedMessageV3 implements UploadModelResponseOrBuilder
Response message of ModelService.UploadModel operation.
Protobuf type google.cloud.aiplatform.v1.UploadModelResponse
Static Fields
public static final int MODEL_FIELD_NUMBER
Field Value
public static final int MODEL_VERSION_ID_FIELD_NUMBER
Field Value
Static Methods
public static UploadModelResponse getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static UploadModelResponse.Builder newBuilder()
Returns
public static UploadModelResponse.Builder newBuilder(UploadModelResponse prototype)
Parameter
Returns
public static UploadModelResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UploadModelResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UploadModelResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static UploadModelResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UploadModelResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static UploadModelResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UploadModelResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UploadModelResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UploadModelResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UploadModelResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UploadModelResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static UploadModelResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<UploadModelResponse> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public UploadModelResponse getDefaultInstanceForType()
Returns
The name of the uploaded Model resource.
Format: projects/{project}/locations/{location}/models/{model}
string model = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The model.
|
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
public String getModelVersionId()
Output only. The version ID of the model that is uploaded.
string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The modelVersionId.
|
public ByteString getModelVersionIdBytes()
Output only. The version ID of the model that is uploaded.
string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for modelVersionId.
|
public Parser<UploadModelResponse> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UploadModelResponse.Builder newBuilderForType()
Returns
protected UploadModelResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public UploadModelResponse.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions