Package com.google.cloud.aiplatform.v1
Interface GetPublisherModelRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetPublisherModelRequest
,GetPublisherModelRequest.Builder
public interface GetPublisherModelRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLanguageCode()
Optional.com.google.protobuf.ByteString
getLanguageCodeBytes()
Optional.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.PublisherModelView
getView()
Optional.int
getViewValue()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
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) = { ... }
- Returns:
- The bytes for name.
-
getLanguageCode
String getLanguageCode()
Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in (see go/bcp47).
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The languageCode.
-
getLanguageCodeBytes
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 (see go/bcp47).
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for languageCode.
-
getViewValue
int getViewValue()
Optional. PublisherModel view specifying which fields to read.
.google.cloud.aiplatform.v1.PublisherModelView view = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The enum numeric value on the wire for view.
-
getView
PublisherModelView getView()
Optional. PublisherModel view specifying which fields to read.
.google.cloud.aiplatform.v1.PublisherModelView view = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The view.
-
-