public final class CopyModelResponse extends GeneratedMessageV3 implements CopyModelResponseOrBuilder
Response message of
ModelService.CopyModel
operation.
Protobuf type google.cloud.aiplatform.v1beta1.CopyModelResponse
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 CopyModelResponse getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CopyModelResponse.Builder newBuilder()
Returns
public static CopyModelResponse.Builder newBuilder(CopyModelResponse prototype)
Parameter
Returns
public static CopyModelResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CopyModelResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CopyModelResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static CopyModelResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CopyModelResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CopyModelResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CopyModelResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CopyModelResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CopyModelResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CopyModelResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CopyModelResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CopyModelResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CopyModelResponse> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public CopyModelResponse getDefaultInstanceForType()
Returns
The name of the copied 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 copied 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 copied.
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 copied.
string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for modelVersionId.
|
public Parser<CopyModelResponse> 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 CopyModelResponse.Builder newBuilderForType()
Returns
protected CopyModelResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CopyModelResponse.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions