public interface CountTokensRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Content |
getContents(int index)
Required.
|
int |
getContentsCount()
Required.
|
List<Content> |
getContentsList()
Required.
|
ContentOrBuilder |
getContentsOrBuilder(int index)
Required.
|
List<? extends ContentOrBuilder> |
getContentsOrBuilderList()
Required.
|
String |
getEndpoint()
Required.
|
com.google.protobuf.ByteString |
getEndpointBytes()
Required.
|
com.google.protobuf.Value |
getInstances(int index)
Required.
|
int |
getInstancesCount()
Required.
|
List<com.google.protobuf.Value> |
getInstancesList()
Required.
|
com.google.protobuf.ValueOrBuilder |
getInstancesOrBuilder(int index)
Required.
|
List<? extends com.google.protobuf.ValueOrBuilder> |
getInstancesOrBuilderList()
Required.
|
String |
getModel()
Required.
|
com.google.protobuf.ByteString |
getModelBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getEndpoint()
Required. The name of the Endpoint requested to perform token counting.
Format:
`projects/{project}/locations/{location}/endpoints/{endpoint}`
string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getEndpointBytes()
Required. The name of the Endpoint requested to perform token counting.
Format:
`projects/{project}/locations/{location}/endpoints/{endpoint}`
string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
String getModel()
Required. The name of the publisher model requested to serve the
prediction. Format:
`projects/{project}/locations/{location}/publishers/*/models/*`
string model = 3 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getModelBytes()
Required. The name of the publisher model requested to serve the
prediction. Format:
`projects/{project}/locations/{location}/publishers/*/models/*`
string model = 3 [(.google.api.field_behavior) = REQUIRED];List<com.google.protobuf.Value> getInstancesList()
Required. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model.
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
com.google.protobuf.Value getInstances(int index)
Required. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model.
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
int getInstancesCount()
Required. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model.
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
List<? extends com.google.protobuf.ValueOrBuilder> getInstancesOrBuilderList()
Required. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model.
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
com.google.protobuf.ValueOrBuilder getInstancesOrBuilder(int index)
Required. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model.
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
List<Content> getContentsList()
Required. Input content.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 4 [(.google.api.field_behavior) = REQUIRED];
Content getContents(int index)
Required. Input content.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 4 [(.google.api.field_behavior) = REQUIRED];
int getContentsCount()
Required. Input content.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 4 [(.google.api.field_behavior) = REQUIRED];
List<? extends ContentOrBuilder> getContentsOrBuilderList()
Required. Input content.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 4 [(.google.api.field_behavior) = REQUIRED];
ContentOrBuilder getContentsOrBuilder(int index)
Required. Input content.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 4 [(.google.api.field_behavior) = REQUIRED];
Copyright © 2024 Google LLC. All rights reserved.