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.v1.PublisherModel.CallToAction.Deploy
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
public static final int ARTIFACT_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int AUTOMATIC_RESOURCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int CONTAINER_SPEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DEDICATED_RESOURCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LARGE_MODEL_REFERENCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int MODEL_DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int SHARED_RESOURCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TITLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static PublisherModel.CallToAction.Deploy getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static PublisherModel.CallToAction.Deploy.Builder newBuilder()
public static PublisherModel.CallToAction.Deploy.Builder newBuilder(PublisherModel.CallToAction.Deploy prototype)
public static PublisherModel.CallToAction.Deploy parseDelimitedFrom(InputStream input)
public static PublisherModel.CallToAction.Deploy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.Deploy parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static PublisherModel.CallToAction.Deploy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.Deploy parseFrom(ByteString data)
public static PublisherModel.CallToAction.Deploy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.Deploy parseFrom(CodedInputStream input)
public static PublisherModel.CallToAction.Deploy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.Deploy parseFrom(InputStream input)
public static PublisherModel.CallToAction.Deploy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.Deploy parseFrom(ByteBuffer data)
public static PublisherModel.CallToAction.Deploy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<PublisherModel.CallToAction.Deploy> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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 |
---|
Type | Description |
String | The artifactUri.
|
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 |
---|
Type | Description |
ByteString | The bytes for artifactUri.
|
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.v1.AutomaticResources automatic_resources = 6;
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.v1.AutomaticResources automatic_resources = 6;
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.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
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.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
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.v1.DedicatedResources dedicated_resources = 5;
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.v1.DedicatedResources dedicated_resources = 5;
public PublisherModel.CallToAction.Deploy getDefaultInstanceForType()
public LargeModelReference getLargeModelReference()
Optional. Large model reference. When this is set, model_artifact_spec
is not needed.
.google.cloud.aiplatform.v1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];
public LargeModelReferenceOrBuilder getLargeModelReferenceOrBuilder()
Optional. Large model reference. When this is set, model_artifact_spec
is not needed.
.google.cloud.aiplatform.v1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];
public String getModelDisplayName()
Optional. Default model display name.
string model_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The modelDisplayName.
|
public ByteString getModelDisplayNameBytes()
Optional. Default model display name.
string model_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for modelDisplayName.
|
public Parser<PublisherModel.CallToAction.Deploy> getParserForType()
Overrides
public PublisherModel.CallToAction.Deploy.PredictionResourcesCase getPredictionResourcesCase()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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 |
---|
Type | Description |
String | The sharedResources.
|
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 |
---|
Type | Description |
ByteString | The bytes for sharedResources.
|
Required. The title of the regional resource reference.
string title = 8 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The title.
|
public ByteString getTitleBytes()
Required. The title of the regional resource reference.
string title = 8 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for title.
|
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.v1.AutomaticResources automatic_resources = 6;
Returns |
---|
Type | Description |
boolean | Whether the automaticResources field is set.
|
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.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the containerSpec field is set.
|
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.v1.DedicatedResources dedicated_resources = 5;
Returns |
---|
Type | Description |
boolean | Whether the dedicatedResources field is set.
|
public boolean hasLargeModelReference()
Optional. Large model reference. When this is set, model_artifact_spec
is not needed.
.google.cloud.aiplatform.v1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the largeModelReference field is set.
|
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 |
---|
Type | Description |
boolean | Whether the sharedResources field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public PublisherModel.CallToAction.Deploy.Builder newBuilderForType()
protected PublisherModel.CallToAction.Deploy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public PublisherModel.CallToAction.Deploy.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides