public interface GetPublisherModelRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getHuggingFaceToken()
Optional.
|
com.google.protobuf.ByteString |
getHuggingFaceTokenBytes()
Optional.
|
boolean |
getIsHuggingFaceModel()
Optional.
|
String |
getLanguageCode()
Optional.
|
com.google.protobuf.ByteString |
getLanguageCodeBytes()
Optional.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
PublisherModelView |
getView()
Optional.
|
int |
getViewValue()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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) = { ... }
com.google.protobuf.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) = { ... }
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];com.google.protobuf.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];int getViewValue()
Optional. PublisherModel view specifying which fields to read.
.google.cloud.aiplatform.v1.PublisherModelView view = 3 [(.google.api.field_behavior) = OPTIONAL];
PublisherModelView getView()
Optional. PublisherModel view specifying which fields to read.
.google.cloud.aiplatform.v1.PublisherModelView view = 3 [(.google.api.field_behavior) = OPTIONAL];
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];String getHuggingFaceToken()
Optional. Token used to access Hugging Face gated models.
string hugging_face_token = 6 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getHuggingFaceTokenBytes()
Optional. Token used to access Hugging Face gated models.
string hugging_face_token = 6 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2025 Google LLC. All rights reserved.