public interface TokensInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getRole()
Optional.
|
com.google.protobuf.ByteString |
getRoleBytes()
Optional.
|
long |
getTokenIds(int index)
A list of token ids from the input.
|
int |
getTokenIdsCount()
A list of token ids from the input.
|
List<Long> |
getTokenIdsList()
A list of token ids from the input.
|
com.google.protobuf.ByteString |
getTokens(int index)
A list of tokens from the input.
|
int |
getTokensCount()
A list of tokens from the input.
|
List<com.google.protobuf.ByteString> |
getTokensList()
A list of tokens from the input.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<com.google.protobuf.ByteString> getTokensList()
A list of tokens from the input.
repeated bytes tokens = 1;int getTokensCount()
A list of tokens from the input.
repeated bytes tokens = 1;com.google.protobuf.ByteString getTokens(int index)
A list of tokens from the input.
repeated bytes tokens = 1;index - The index of the element to return.List<Long> getTokenIdsList()
A list of token ids from the input.
repeated int64 token_ids = 2;int getTokenIdsCount()
A list of token ids from the input.
repeated int64 token_ids = 2;long getTokenIds(int index)
A list of token ids from the input.
repeated int64 token_ids = 2;index - The index of the element to return.String getRole()
Optional. Optional fields for the role from the corresponding Content.
string role = 3 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getRoleBytes()
Optional. Optional fields for the role from the corresponding Content.
string role = 3 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2024 Google LLC. All rights reserved.