Interface GetPublisherModelRequestOrBuilder (3.55.0)

public interface GetPublisherModelRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHuggingFaceToken()

public abstract String getHuggingFaceToken()

Optional. Token used to access Hugging Face gated models.

string hugging_face_token = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The huggingFaceToken.

getHuggingFaceTokenBytes()

public abstract ByteString getHuggingFaceTokenBytes()

Optional. Token used to access Hugging Face gated models.

string hugging_face_token = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for huggingFaceToken.

getIsHuggingFaceModel()

public abstract boolean getIsHuggingFaceModel()

Optional. Boolean indicates whether the requested model is a Hugging Face model.

bool is_hugging_face_model = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The isHuggingFaceModel.

getLanguageCode()

public abstract String getLanguageCode()

Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in.

string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in.

string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for languageCode.

getName()

public abstract String getName()

Required. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getView()

public abstract PublisherModelView getView()

Optional. PublisherModel view specifying which fields to read.

.google.cloud.aiplatform.v1.PublisherModelView view = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PublisherModelView

The view.

getViewValue()

public abstract int getViewValue()

Optional. PublisherModel view specifying which fields to read.

.google.cloud.aiplatform.v1.PublisherModelView view = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for view.