Class PublisherModel.CallToAction (3.21.0)

public static final class PublisherModel.CallToAction extends GeneratedMessageV3 implements PublisherModel.CallToActionOrBuilder

Actions could take on this Publisher Model.

Protobuf type google.cloud.aiplatform.v1.PublisherModel.CallToAction

Static Fields

CREATE_APPLICATION_FIELD_NUMBER

public static final int CREATE_APPLICATION_FIELD_NUMBER
Field Value
TypeDescription
int

DEPLOY_FIELD_NUMBER

public static final int DEPLOY_FIELD_NUMBER
Field Value
TypeDescription
int

OPEN_FINE_TUNING_PIPELINE_FIELD_NUMBER

public static final int OPEN_FINE_TUNING_PIPELINE_FIELD_NUMBER
Field Value
TypeDescription
int

OPEN_GENERATION_AI_STUDIO_FIELD_NUMBER

public static final int OPEN_GENERATION_AI_STUDIO_FIELD_NUMBER
Field Value
TypeDescription
int

OPEN_GENIE_FIELD_NUMBER

public static final int OPEN_GENIE_FIELD_NUMBER
Field Value
TypeDescription
int

OPEN_NOTEBOOK_FIELD_NUMBER

public static final int OPEN_NOTEBOOK_FIELD_NUMBER
Field Value
TypeDescription
int

OPEN_PROMPT_TUNING_PIPELINE_FIELD_NUMBER

public static final int OPEN_PROMPT_TUNING_PIPELINE_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_ACCESS_FIELD_NUMBER

public static final int REQUEST_ACCESS_FIELD_NUMBER
Field Value
TypeDescription
int

VIEW_REST_API_FIELD_NUMBER

public static final int VIEW_REST_API_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(PublisherModel.CallToAction prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCreateApplication()

public PublisherModel.CallToAction.RegionalResourceReferences getCreateApplication()

Optional. Create application using the PublisherModel.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences create_application = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences

The createApplication.

getCreateApplicationOrBuilder()

public PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder getCreateApplicationOrBuilder()

Optional. Create application using the PublisherModel.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences create_application = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder

getDefaultInstanceForType()

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

getDeploy()

public PublisherModel.CallToAction.Deploy getDeploy()

Optional. Deploy the PublisherModel to Vertex Endpoint.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy deploy = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.Deploy

The deploy.

getDeployOrBuilder()

public PublisherModel.CallToAction.DeployOrBuilder getDeployOrBuilder()

Optional. Deploy the PublisherModel to Vertex Endpoint.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy deploy = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.DeployOrBuilder

getOpenFineTuningPipeline()

public PublisherModel.CallToAction.RegionalResourceReferences getOpenFineTuningPipeline()

Optional. Open fine-tuning pipeline of the PublisherModel.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_fine_tuning_pipeline = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences

The openFineTuningPipeline.

getOpenFineTuningPipelineOrBuilder()

public PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder getOpenFineTuningPipelineOrBuilder()

Optional. Open fine-tuning pipeline of the PublisherModel.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_fine_tuning_pipeline = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder

getOpenGenerationAiStudio()

public PublisherModel.CallToAction.RegionalResourceReferences getOpenGenerationAiStudio()

Optional. Open in Generation AI Studio.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_generation_ai_studio = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences

The openGenerationAiStudio.

getOpenGenerationAiStudioOrBuilder()

public PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder getOpenGenerationAiStudioOrBuilder()

Optional. Open in Generation AI Studio.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_generation_ai_studio = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder

getOpenGenie()

public PublisherModel.CallToAction.RegionalResourceReferences getOpenGenie()

Optional. Open Genie / Playground.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_genie = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences

The openGenie.

getOpenGenieOrBuilder()

public PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder getOpenGenieOrBuilder()

Optional. Open Genie / Playground.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_genie = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder

getOpenNotebook()

public PublisherModel.CallToAction.RegionalResourceReferences getOpenNotebook()

Optional. Open notebook of the PublisherModel.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_notebook = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences

The openNotebook.

getOpenNotebookOrBuilder()

public PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder getOpenNotebookOrBuilder()

Optional. Open notebook of the PublisherModel.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_notebook = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder

getOpenPromptTuningPipeline()

public PublisherModel.CallToAction.RegionalResourceReferences getOpenPromptTuningPipeline()

Optional. Open prompt-tuning pipeline of the PublisherModel.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_prompt_tuning_pipeline = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences

The openPromptTuningPipeline.

getOpenPromptTuningPipelineOrBuilder()

public PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder getOpenPromptTuningPipelineOrBuilder()

Optional. Open prompt-tuning pipeline of the PublisherModel.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_prompt_tuning_pipeline = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder

getParserForType()

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

getRequestAccess()

public PublisherModel.CallToAction.RegionalResourceReferences getRequestAccess()

Optional. Request for access.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences

The requestAccess.

getRequestAccessOrBuilder()

public PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder getRequestAccessOrBuilder()

Optional. Request for access.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getViewRestApi()

public PublisherModel.CallToAction.ViewRestApi getViewRestApi()

Optional. To view Rest API docs.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.ViewRestApi view_rest_api = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi

The viewRestApi.

getViewRestApiOrBuilder()

public PublisherModel.CallToAction.ViewRestApiOrBuilder getViewRestApiOrBuilder()

Optional. To view Rest API docs.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.ViewRestApi view_rest_api = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApiOrBuilder

hasCreateApplication()

public boolean hasCreateApplication()

Optional. Create application using the PublisherModel.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences create_application = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the createApplication field is set.

hasDeploy()

public boolean hasDeploy()

Optional. Deploy the PublisherModel to Vertex Endpoint.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy deploy = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the deploy field is set.

hasOpenFineTuningPipeline()

public boolean hasOpenFineTuningPipeline()

Optional. Open fine-tuning pipeline of the PublisherModel.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_fine_tuning_pipeline = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the openFineTuningPipeline field is set.

hasOpenGenerationAiStudio()

public boolean hasOpenGenerationAiStudio()

Optional. Open in Generation AI Studio.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_generation_ai_studio = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the openGenerationAiStudio field is set.

hasOpenGenie()

public boolean hasOpenGenie()

Optional. Open Genie / Playground.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_genie = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the openGenie field is set.

hasOpenNotebook()

public boolean hasOpenNotebook()

Optional. Open notebook of the PublisherModel.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_notebook = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the openNotebook field is set.

hasOpenPromptTuningPipeline()

public boolean hasOpenPromptTuningPipeline()

Optional. Open prompt-tuning pipeline of the PublisherModel.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_prompt_tuning_pipeline = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the openPromptTuningPipeline field is set.

hasRequestAccess()

public boolean hasRequestAccess()

Optional. Request for access.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the requestAccess field is set.

hasViewRestApi()

public boolean hasViewRestApi()

Optional. To view Rest API docs.

.google.cloud.aiplatform.v1.PublisherModel.CallToAction.ViewRestApi view_rest_api = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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