Interface EnumOrBuilder
-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
public interface EnumOrBuilder implements MessageOrBuilder
-
-
Method Summary
Modifier and Type Method Description abstract booleanhasPos()optional .xyz.block.ftl.v1.schema.Position pos = 1;abstract PositiongetPos()optional .xyz.block.ftl.v1.schema.Position pos = 1;abstract PositionOrBuildergetPosOrBuilder()optional .xyz.block.ftl.v1.schema.Position pos = 1;abstract List<String>getCommentsList()repeated string comments = 2;abstract intgetCommentsCount()repeated string comments = 2;abstract StringgetComments(int index)repeated string comments = 2;abstract ByteStringgetCommentsBytes(int index)repeated string comments = 2;abstract booleangetExport()bool export = 3;abstract StringgetName()string name = 4;abstract ByteStringgetNameBytes()string name = 4;abstract booleanhasType()optional .xyz.block.ftl.v1.schema.Type type = 5;abstract TypegetType()optional .xyz.block.ftl.v1.schema.Type type = 5;abstract TypeOrBuildergetTypeOrBuilder()optional .xyz.block.ftl.v1.schema.Type type = 5;abstract List<EnumVariant>getVariantsList()repeated .xyz.block.ftl.v1.schema.EnumVariant variants = 6;abstract EnumVariantgetVariants(int index)repeated .xyz.block.ftl.v1.schema.EnumVariant variants = 6;abstract intgetVariantsCount()repeated .xyz.block.ftl.v1.schema.EnumVariant variants = 6;abstract List<out EnumVariantOrBuilder>getVariantsOrBuilderList()repeated .xyz.block.ftl.v1.schema.EnumVariant variants = 6;abstract EnumVariantOrBuildergetVariantsOrBuilder(int index)repeated .xyz.block.ftl.v1.schema.EnumVariant variants = 6;-
Methods inherited from class com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
hasPos
abstract boolean hasPos()
optional .xyz.block.ftl.v1.schema.Position pos = 1;- Returns:
Whether the pos field is set.
-
getPos
abstract Position getPos()
optional .xyz.block.ftl.v1.schema.Position pos = 1;- Returns:
The pos.
-
getPosOrBuilder
abstract PositionOrBuilder getPosOrBuilder()
optional .xyz.block.ftl.v1.schema.Position pos = 1;
-
getCommentsList
abstract List<String> getCommentsList()
repeated string comments = 2;- Returns:
A list containing the comments.
-
getCommentsCount
abstract int getCommentsCount()
repeated string comments = 2;- Returns:
The count of comments.
-
getComments
abstract 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
abstract 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.
-
getExport
abstract boolean getExport()
bool export = 3;- Returns:
The export.
-
getNameBytes
abstract ByteString getNameBytes()
string name = 4;- Returns:
The bytes for name.
-
hasType
abstract boolean hasType()
optional .xyz.block.ftl.v1.schema.Type type = 5;- Returns:
Whether the type field is set.
-
getTypeOrBuilder
abstract TypeOrBuilder getTypeOrBuilder()
optional .xyz.block.ftl.v1.schema.Type type = 5;
-
getVariantsList
abstract List<EnumVariant> getVariantsList()
repeated .xyz.block.ftl.v1.schema.EnumVariant variants = 6;
-
getVariants
abstract EnumVariant getVariants(int index)
repeated .xyz.block.ftl.v1.schema.EnumVariant variants = 6;
-
getVariantsCount
abstract int getVariantsCount()
repeated .xyz.block.ftl.v1.schema.EnumVariant variants = 6;
-
getVariantsOrBuilderList
abstract List<out EnumVariantOrBuilder> getVariantsOrBuilderList()
repeated .xyz.block.ftl.v1.schema.EnumVariant variants = 6;
-
getVariantsOrBuilder
abstract EnumVariantOrBuilder getVariantsOrBuilder(int index)
repeated .xyz.block.ftl.v1.schema.EnumVariant variants = 6;
-
-
-
-