Package com.google.genai.proto
Class SentencepieceModel.SelfTestData.Sample
-
- All Implemented Interfaces:
-
com.google.genai.proto.SentencepieceModel.SelfTestData.SampleOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class SentencepieceModel.SelfTestData.Sample extends GeneratedMessageV3 implements SentencepieceModel.SelfTestData.SampleOrBuilder
Protobuf type
com.google.genai.proto.SelfTestData.Sample
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSentencepieceModel.SelfTestData.Sample.BuilderProtobuf type
com.google.genai.proto.SelfTestData.Sample
-
Field Summary
Fields Modifier and Type Field Description public final static intINPUT_FIELD_NUMBERpublic final static intEXPECTED_FIELD_NUMBERpublic final static Parser<SentencepieceModel.SelfTestData.Sample>PARSER
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof -
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.Message
getParserForType -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
hasInput
boolean hasInput()
optional string input = 1;- Returns:
Whether the input field is set.
-
getInputBytes
ByteString getInputBytes()
optional string input = 1;- Returns:
The bytes for input.
-
hasExpected
boolean hasExpected()
optional string expected = 2;- Returns:
Whether the expected field is set.
-
getExpected
String getExpected()
optional string expected = 2;- Returns:
The expected.
-
getExpectedBytes
ByteString getExpectedBytes()
optional string expected = 2;- Returns:
The bytes for expected.
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static SentencepieceModel.SelfTestData.Sample parseFrom(ByteBuffer data)
-
parseFrom
static SentencepieceModel.SelfTestData.Sample parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static SentencepieceModel.SelfTestData.Sample parseFrom(ByteString data)
-
parseFrom
static SentencepieceModel.SelfTestData.Sample parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static SentencepieceModel.SelfTestData.Sample parseFrom(Array<byte> data)
-
parseFrom
static SentencepieceModel.SelfTestData.Sample parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static SentencepieceModel.SelfTestData.Sample parseFrom(InputStream input)
-
parseFrom
static SentencepieceModel.SelfTestData.Sample parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static SentencepieceModel.SelfTestData.Sample parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static SentencepieceModel.SelfTestData.Sample parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static SentencepieceModel.SelfTestData.Sample parseFrom(CodedInputStream input)
-
parseFrom
static SentencepieceModel.SelfTestData.Sample parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
SentencepieceModel.SelfTestData.Sample.Builder newBuilderForType()
-
newBuilder
static SentencepieceModel.SelfTestData.Sample.Builder newBuilder()
-
newBuilder
static SentencepieceModel.SelfTestData.Sample.Builder newBuilder(SentencepieceModel.SelfTestData.Sample prototype)
-
getDefaultInstance
static SentencepieceModel.SelfTestData.Sample getDefaultInstance()
-
parser
static Parser<SentencepieceModel.SelfTestData.Sample> parser()
-
getParserForType
Parser<SentencepieceModel.SelfTestData.Sample> getParserForType()
-
getDefaultInstanceForType
SentencepieceModel.SelfTestData.Sample getDefaultInstanceForType()
-
-
-
-