Class PublisherModel.CallToAction.Deploy (3.37.0)

public static final class PublisherModel.CallToAction.Deploy extends GeneratedMessageV3 implements PublisherModel.CallToAction.DeployOrBuilder

Model metadata that is needed for UploadModel or DeployModel/CreateEndpoint requests.

Protobuf type google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.Deploy

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PublisherModel.CallToAction.Deploy

Static Fields

ARTIFACT_URI_FIELD_NUMBER

public static final int ARTIFACT_URI_FIELD_NUMBER
Field Value
TypeDescription
int

AUTOMATIC_RESOURCES_FIELD_NUMBER

public static final int AUTOMATIC_RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

CONTAINER_SPEC_FIELD_NUMBER

public static final int CONTAINER_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

DEDICATED_RESOURCES_FIELD_NUMBER

public static final int DEDICATED_RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

LARGE_MODEL_REFERENCE_FIELD_NUMBER

public static final int LARGE_MODEL_REFERENCE_FIELD_NUMBER
Field Value
TypeDescription
int

MODEL_DISPLAY_NAME_FIELD_NUMBER

public static final int MODEL_DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PUBLIC_ARTIFACT_URI_FIELD_NUMBER

public static final int PUBLIC_ARTIFACT_URI_FIELD_NUMBER
Field Value
TypeDescription
int

SHARED_RESOURCES_FIELD_NUMBER

public static final int SHARED_RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PublisherModel.CallToAction.Deploy getDefaultInstance()
Returns
TypeDescription
PublisherModel.CallToAction.Deploy

getDescriptor()

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

newBuilder()

public static PublisherModel.CallToAction.Deploy.Builder newBuilder()
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder

newBuilder(PublisherModel.CallToAction.Deploy prototype)

public static PublisherModel.CallToAction.Deploy.Builder newBuilder(PublisherModel.CallToAction.Deploy prototype)
Parameter
NameDescription
prototypePublisherModel.CallToAction.Deploy
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder

parseDelimitedFrom(InputStream input)

public static PublisherModel.CallToAction.Deploy parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PublisherModel.CallToAction.Deploy
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.Deploy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.Deploy
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PublisherModel.CallToAction.Deploy parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PublisherModel.CallToAction.Deploy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PublisherModel.CallToAction.Deploy parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PublisherModel.CallToAction.Deploy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.Deploy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.Deploy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PublisherModel.CallToAction.Deploy parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PublisherModel.CallToAction.Deploy
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.Deploy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.Deploy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PublisherModel.CallToAction.Deploy parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PublisherModel.CallToAction.Deploy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.Deploy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.Deploy
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PublisherModel.CallToAction.Deploy parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PublisherModel.CallToAction.Deploy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.Deploy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.Deploy
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PublisherModel.CallToAction.Deploy> parser()
Returns
TypeDescription
Parser<Deploy>

Methods

equals(Object obj)

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

getArtifactUri()

public String getArtifactUri()

Optional. The path to the directory containing the Model artifact and any of its supporting files.

string artifact_uri = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The artifactUri.

getArtifactUriBytes()

public ByteString getArtifactUriBytes()

Optional. The path to the directory containing the Model artifact and any of its supporting files.

string artifact_uri = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for artifactUri.

getAutomaticResources()

public AutomaticResources getAutomaticResources()

A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.

.google.cloud.aiplatform.v1beta1.AutomaticResources automatic_resources = 6;

Returns
TypeDescription
AutomaticResources

The automaticResources.

getAutomaticResourcesOrBuilder()

public AutomaticResourcesOrBuilder getAutomaticResourcesOrBuilder()

A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.

.google.cloud.aiplatform.v1beta1.AutomaticResources automatic_resources = 6;

Returns
TypeDescription
AutomaticResourcesOrBuilder

getContainerSpec()

public ModelContainerSpec getContainerSpec()

Optional. The specification of the container that is to be used when deploying this Model in Vertex AI. Not present for Large Models.

.google.cloud.aiplatform.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ModelContainerSpec

The containerSpec.

getContainerSpecOrBuilder()

public ModelContainerSpecOrBuilder getContainerSpecOrBuilder()

Optional. The specification of the container that is to be used when deploying this Model in Vertex AI. Not present for Large Models.

.google.cloud.aiplatform.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ModelContainerSpecOrBuilder

getDedicatedResources()

public DedicatedResources getDedicatedResources()

A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 5;

Returns
TypeDescription
DedicatedResources

The dedicatedResources.

getDedicatedResourcesOrBuilder()

public DedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder()

A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 5;

Returns
TypeDescription
DedicatedResourcesOrBuilder

getDefaultInstanceForType()

public PublisherModel.CallToAction.Deploy getDefaultInstanceForType()
Returns
TypeDescription
PublisherModel.CallToAction.Deploy

getLargeModelReference()

public LargeModelReference getLargeModelReference()

Optional. Large model reference. When this is set, model_artifact_spec is not needed.

.google.cloud.aiplatform.v1beta1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
LargeModelReference

The largeModelReference.

getLargeModelReferenceOrBuilder()

public LargeModelReferenceOrBuilder getLargeModelReferenceOrBuilder()

Optional. Large model reference. When this is set, model_artifact_spec is not needed.

.google.cloud.aiplatform.v1beta1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
LargeModelReferenceOrBuilder

getModelDisplayName()

public String getModelDisplayName()

Optional. Default model display name.

string model_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The modelDisplayName.

getModelDisplayNameBytes()

public ByteString getModelDisplayNameBytes()

Optional. Default model display name.

string model_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for modelDisplayName.

getParserForType()

public Parser<PublisherModel.CallToAction.Deploy> getParserForType()
Returns
TypeDescription
Parser<Deploy>
Overrides

getPredictionResourcesCase()

public PublisherModel.CallToAction.Deploy.PredictionResourcesCase getPredictionResourcesCase()
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.PredictionResourcesCase

getPublicArtifactUri()

public String getPublicArtifactUri()

Optional. The signed URI for ephemeral Cloud Storage access to model artifact.

string public_artifact_uri = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The publicArtifactUri.

getPublicArtifactUriBytes()

public ByteString getPublicArtifactUriBytes()

Optional. The signed URI for ephemeral Cloud Storage access to model artifact.

string public_artifact_uri = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for publicArtifactUri.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSharedResources()

public String getSharedResources()

The resource name of the shared DeploymentResourcePool to deploy on. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string shared_resources = 7;

Returns
TypeDescription
String

The sharedResources.

getSharedResourcesBytes()

public ByteString getSharedResourcesBytes()

The resource name of the shared DeploymentResourcePool to deploy on. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string shared_resources = 7;

Returns
TypeDescription
ByteString

The bytes for sharedResources.

getTitle()

public String getTitle()

Required. The title of the regional resource reference.

string title = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required. The title of the regional resource reference.

string title = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for title.

hasAutomaticResources()

public boolean hasAutomaticResources()

A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.

.google.cloud.aiplatform.v1beta1.AutomaticResources automatic_resources = 6;

Returns
TypeDescription
boolean

Whether the automaticResources field is set.

hasContainerSpec()

public boolean hasContainerSpec()

Optional. The specification of the container that is to be used when deploying this Model in Vertex AI. Not present for Large Models.

.google.cloud.aiplatform.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the containerSpec field is set.

hasDedicatedResources()

public boolean hasDedicatedResources()

A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 5;

Returns
TypeDescription
boolean

Whether the dedicatedResources field is set.

hasLargeModelReference()

public boolean hasLargeModelReference()

Optional. Large model reference. When this is set, model_artifact_spec is not needed.

.google.cloud.aiplatform.v1beta1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the largeModelReference field is set.

hasSharedResources()

public boolean hasSharedResources()

The resource name of the shared DeploymentResourcePool to deploy on. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string shared_resources = 7;

Returns
TypeDescription
boolean

Whether the sharedResources field is set.

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 PublisherModel.CallToAction.Deploy.Builder newBuilderForType()
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PublisherModel.CallToAction.Deploy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public PublisherModel.CallToAction.Deploy.Builder toBuilder()
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder

writeTo(CodedOutputStream output)

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