Package com.google.cloud.aiplatform.v1
Class DeployOperationMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeployOperationMetadata.Builder>
com.google.cloud.aiplatform.v1.DeployOperationMetadata.Builder
- All Implemented Interfaces:
DeployOperationMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeployOperationMetadata
public static final class DeployOperationMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DeployOperationMetadata.Builder>
implements DeployOperationMetadataOrBuilder
Runtime operation information for [ModelGardenService.Deploy][google.cloud.aiplatform.v1.ModelGardenService.Deploy].Protobuf type
google.cloud.aiplatform.v1.DeployOperationMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.The operation generic information.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.The operation generic information.The operation generic information.The operation generic information.Output only.com.google.protobuf.ByteStringOutput only.longOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanThe operation generic information.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DeployOperationMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The operation generic information.setDestination(String value) Output only.setDestinationBytes(com.google.protobuf.ByteString value) Output only.The operation generic information.setGenericMetadata(GenericOperationMetadata.Builder builderForValue) The operation generic information.setModelId(String value) Output only.setModelIdBytes(com.google.protobuf.ByteString value) Output only.setProjectNumber(long value) Output only.setPublisherModel(String value) Output only.setPublisherModelBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DeployOperationMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DeployOperationMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DeployOperationMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeployOperationMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DeployOperationMetadata.Builder>
-
mergeFrom
public DeployOperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeployOperationMetadata.Builder>- Throws:
IOException
-
hasGenericMetadata
public boolean hasGenericMetadata()The operation generic information.
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;- Specified by:
hasGenericMetadatain interfaceDeployOperationMetadataOrBuilder- Returns:
- Whether the genericMetadata field is set.
-
getGenericMetadata
The operation generic information.
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;- Specified by:
getGenericMetadatain interfaceDeployOperationMetadataOrBuilder- Returns:
- The genericMetadata.
-
setGenericMetadata
The operation generic information.
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; -
setGenericMetadata
public DeployOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata.Builder builderForValue) The operation generic information.
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; -
mergeGenericMetadata
The operation generic information.
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; -
clearGenericMetadata
The operation generic information.
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; -
getGenericMetadataBuilder
The operation generic information.
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; -
getGenericMetadataOrBuilder
The operation generic information.
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;- Specified by:
getGenericMetadataOrBuilderin interfaceDeployOperationMetadataOrBuilder
-
getPublisherModel
Output only. The name of the model resource.
string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getPublisherModelin interfaceDeployOperationMetadataOrBuilder- Returns:
- The publisherModel.
-
getPublisherModelBytes
public com.google.protobuf.ByteString getPublisherModelBytes()Output only. The name of the model resource.
string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getPublisherModelBytesin interfaceDeployOperationMetadataOrBuilder- Returns:
- The bytes for publisherModel.
-
setPublisherModel
Output only. The name of the model resource.
string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The publisherModel to set.- Returns:
- This builder for chaining.
-
clearPublisherModel
Output only. The name of the model resource.
string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setPublisherModelBytes
Output only. The name of the model resource.
string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for publisherModel to set.- Returns:
- This builder for chaining.
-
getDestination
Output only. The resource name of the Location to deploy the model in. Format: `projects/{project}/locations/{location}`string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getDestinationin interfaceDeployOperationMetadataOrBuilder- Returns:
- The destination.
-
getDestinationBytes
public com.google.protobuf.ByteString getDestinationBytes()Output only. The resource name of the Location to deploy the model in. Format: `projects/{project}/locations/{location}`string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getDestinationBytesin interfaceDeployOperationMetadataOrBuilder- Returns:
- The bytes for destination.
-
setDestination
Output only. The resource name of the Location to deploy the model in. Format: `projects/{project}/locations/{location}`string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The destination to set.- Returns:
- This builder for chaining.
-
clearDestination
Output only. The resource name of the Location to deploy the model in. Format: `projects/{project}/locations/{location}`string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setDestinationBytes
Output only. The resource name of the Location to deploy the model in. Format: `projects/{project}/locations/{location}`string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for destination to set.- Returns:
- This builder for chaining.
-
getProjectNumber
public long getProjectNumber()Output only. The project number where the deploy model request is sent.
int64 project_number = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProjectNumberin interfaceDeployOperationMetadataOrBuilder- Returns:
- The projectNumber.
-
setProjectNumber
Output only. The project number where the deploy model request is sent.
int64 project_number = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The projectNumber to set.- Returns:
- This builder for chaining.
-
clearProjectNumber
Output only. The project number where the deploy model request is sent.
int64 project_number = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getModelId
Output only. The model id to be used at query time.
string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getModelIdin interfaceDeployOperationMetadataOrBuilder- Returns:
- The modelId.
-
getModelIdBytes
public com.google.protobuf.ByteString getModelIdBytes()Output only. The model id to be used at query time.
string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getModelIdBytesin interfaceDeployOperationMetadataOrBuilder- Returns:
- The bytes for modelId.
-
setModelId
Output only. The model id to be used at query time.
string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The modelId to set.- Returns:
- This builder for chaining.
-
clearModelId
Output only. The model id to be used at query time.
string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setModelIdBytes
Output only. The model id to be used at query time.
string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for modelId to set.- Returns:
- This builder for chaining.
-