public interface ComputeTokensRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getEndpoint()
Required. The name of the Endpoint requested to get lists of tokens and token ids.
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 get lists of tokens and token ids.
string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
List<com.google.protobuf.Value> getInstancesList()
Required. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models.
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 computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models.
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
int getInstancesCount()
Required. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models.
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 computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models.
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 computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models.
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
Copyright © 2023 Google LLC. All rights reserved.