Package xyz.block.ftl.v1.schema
Class EnumVariant
-
- All Implemented Interfaces:
-
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,xyz.block.ftl.v1.schema.EnumVariantOrBuilder
public final class EnumVariant extends GeneratedMessageV3 implements EnumVariantOrBuilder
Protobuf type
xyz.block.ftl.v1.schema.EnumVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEnumVariant.BuilderProtobuf type
xyz.block.ftl.v1.schema.EnumVariant
-
Field Summary
Fields Modifier and Type Field Description public final static intPOS_FIELD_NUMBERpublic final static intCOMMENTS_FIELD_NUMBERpublic final static intNAME_FIELD_NUMBERpublic final static intVALUE_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()booleanhasPos()optional .xyz.block.ftl.v1.schema.Position pos = 1;PositiongetPos()optional .xyz.block.ftl.v1.schema.Position pos = 1;PositionOrBuildergetPosOrBuilder()optional .xyz.block.ftl.v1.schema.Position pos = 1;ProtocolStringListgetCommentsList()repeated string comments = 2;intgetCommentsCount()repeated string comments = 2;StringgetComments(int index)repeated string comments = 2;ByteStringgetCommentsBytes(int index)repeated string comments = 2;StringgetName()string name = 3;ByteStringgetNameBytes()string name = 3;booleanhasValue().xyz.block.ftl.v1.schema.Value value = 4;ValuegetValue().xyz.block.ftl.v1.schema.Value value = 4;ValueOrBuildergetValueOrBuilder().xyz.block.ftl.v1.schema.Value value = 4;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static EnumVariantparseFrom(ByteBuffer data)static EnumVariantparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static EnumVariantparseFrom(ByteString data)static EnumVariantparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static EnumVariantparseFrom(Array<byte> data)static EnumVariantparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static EnumVariantparseFrom(InputStream input)static EnumVariantparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static EnumVariantparseDelimitedFrom(InputStream input)static EnumVariantparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static EnumVariantparseFrom(CodedInputStream input)static EnumVariantparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)EnumVariant.BuildernewBuilderForType()static EnumVariant.BuildernewBuilder()static EnumVariant.BuildernewBuilder(EnumVariant prototype)EnumVariant.BuildertoBuilder()static EnumVariantgetDefaultInstance()static Parser<EnumVariant>parser()Parser<EnumVariant>getParserForType()EnumVariantgetDefaultInstanceForType()-
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()
-
hasPos
boolean hasPos()
optional .xyz.block.ftl.v1.schema.Position pos = 1;- Returns:
Whether the pos field is set.
-
getPosOrBuilder
PositionOrBuilder getPosOrBuilder()
optional .xyz.block.ftl.v1.schema.Position pos = 1;
-
getCommentsList
ProtocolStringList getCommentsList()
repeated string comments = 2;- Returns:
A list containing the comments.
-
getCommentsCount
int getCommentsCount()
repeated string comments = 2;- Returns:
The count of comments.
-
getComments
String getComments(int index)
repeated string comments = 2;- Parameters:
index- The index of the element to return.- Returns:
The comments at the given index.
-
getCommentsBytes
ByteString getCommentsBytes(int index)
repeated string comments = 2;- Parameters:
index- The index of the value to return.- Returns:
The bytes of the comments at the given index.
-
getNameBytes
ByteString getNameBytes()
string name = 3;- Returns:
The bytes for name.
-
hasValue
boolean hasValue()
.xyz.block.ftl.v1.schema.Value value = 4;- Returns:
Whether the value field is set.
-
getValueOrBuilder
ValueOrBuilder getValueOrBuilder()
.xyz.block.ftl.v1.schema.Value value = 4;
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static EnumVariant parseFrom(ByteBuffer data)
-
parseFrom
static EnumVariant parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static EnumVariant parseFrom(ByteString data)
-
parseFrom
static EnumVariant parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static EnumVariant parseFrom(Array<byte> data)
-
parseFrom
static EnumVariant parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static EnumVariant parseFrom(InputStream input)
-
parseFrom
static EnumVariant parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static EnumVariant parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static EnumVariant parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static EnumVariant parseFrom(CodedInputStream input)
-
parseFrom
static EnumVariant parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
EnumVariant.Builder newBuilderForType()
-
newBuilder
static EnumVariant.Builder newBuilder()
-
newBuilder
static EnumVariant.Builder newBuilder(EnumVariant prototype)
-
toBuilder
EnumVariant.Builder toBuilder()
-
getDefaultInstance
static EnumVariant getDefaultInstance()
-
parser
static Parser<EnumVariant> parser()
-
getParserForType
Parser<EnumVariant> getParserForType()
-
getDefaultInstanceForType
EnumVariant getDefaultInstanceForType()
-
-
-
-