Class Field
-
- 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.FieldOrBuilder
public final class Field extends GeneratedMessageV3 implements FieldOrBuilder
Protobuf type
xyz.block.ftl.v1.schema.Field
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classField.BuilderProtobuf type
xyz.block.ftl.v1.schema.Field
-
Field Summary
Fields Modifier and Type Field Description public final static intPOS_FIELD_NUMBERpublic final static intNAME_FIELD_NUMBERpublic final static intCOMMENTS_FIELD_NUMBERpublic final static intTYPE_FIELD_NUMBERpublic final static intMETADATA_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;StringgetName()string name = 2;ByteStringgetNameBytes()string name = 2;ProtocolStringListgetCommentsList()repeated string comments = 3;intgetCommentsCount()repeated string comments = 3;StringgetComments(int index)repeated string comments = 3;ByteStringgetCommentsBytes(int index)repeated string comments = 3;booleanhasType().xyz.block.ftl.v1.schema.Type type = 4;TypegetType().xyz.block.ftl.v1.schema.Type type = 4;TypeOrBuildergetTypeOrBuilder().xyz.block.ftl.v1.schema.Type type = 4;List<Metadata>getMetadataList()repeated .xyz.block.ftl.v1.schema.Metadata metadata = 5;List<out MetadataOrBuilder>getMetadataOrBuilderList()repeated .xyz.block.ftl.v1.schema.Metadata metadata = 5;intgetMetadataCount()repeated .xyz.block.ftl.v1.schema.Metadata metadata = 5;MetadatagetMetadata(int index)repeated .xyz.block.ftl.v1.schema.Metadata metadata = 5;MetadataOrBuildergetMetadataOrBuilder(int index)repeated .xyz.block.ftl.v1.schema.Metadata metadata = 5;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static FieldparseFrom(ByteBuffer data)static FieldparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static FieldparseFrom(ByteString data)static FieldparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static FieldparseFrom(Array<byte> data)static FieldparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static FieldparseFrom(InputStream input)static FieldparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static FieldparseDelimitedFrom(InputStream input)static FieldparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static FieldparseFrom(CodedInputStream input)static FieldparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)Field.BuildernewBuilderForType()static Field.BuildernewBuilder()static Field.BuildernewBuilder(Field prototype)Field.BuildertoBuilder()static FieldgetDefaultInstance()static Parser<Field>parser()Parser<Field>getParserForType()FieldgetDefaultInstanceForType()-
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;
-
getNameBytes
ByteString getNameBytes()
string name = 2;- Returns:
The bytes for name.
-
getCommentsList
ProtocolStringList getCommentsList()
repeated string comments = 3;- Returns:
A list containing the comments.
-
getCommentsCount
int getCommentsCount()
repeated string comments = 3;- Returns:
The count of comments.
-
getComments
String getComments(int index)
repeated string comments = 3;- Parameters:
index- The index of the element to return.- Returns:
The comments at the given index.
-
getCommentsBytes
ByteString getCommentsBytes(int index)
repeated string comments = 3;- Parameters:
index- The index of the value to return.- Returns:
The bytes of the comments at the given index.
-
hasType
boolean hasType()
.xyz.block.ftl.v1.schema.Type type = 4;- Returns:
Whether the type field is set.
-
getTypeOrBuilder
TypeOrBuilder getTypeOrBuilder()
.xyz.block.ftl.v1.schema.Type type = 4;
-
getMetadataList
List<Metadata> getMetadataList()
repeated .xyz.block.ftl.v1.schema.Metadata metadata = 5;
-
getMetadataOrBuilderList
List<out MetadataOrBuilder> getMetadataOrBuilderList()
repeated .xyz.block.ftl.v1.schema.Metadata metadata = 5;
-
getMetadataCount
int getMetadataCount()
repeated .xyz.block.ftl.v1.schema.Metadata metadata = 5;
-
getMetadata
Metadata getMetadata(int index)
repeated .xyz.block.ftl.v1.schema.Metadata metadata = 5;
-
getMetadataOrBuilder
MetadataOrBuilder getMetadataOrBuilder(int index)
repeated .xyz.block.ftl.v1.schema.Metadata metadata = 5;
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static Field parseFrom(ByteBuffer data)
-
parseFrom
static Field parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Field parseFrom(InputStream input)
-
parseFrom
static Field parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static Field parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static Field parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
Field.Builder newBuilderForType()
-
newBuilder
static Field.Builder newBuilder()
-
newBuilder
static Field.Builder newBuilder(Field prototype)
-
toBuilder
Field.Builder toBuilder()
-
getDefaultInstance
static Field getDefaultInstance()
-
getParserForType
Parser<Field> getParserForType()
-
getDefaultInstanceForType
Field getDefaultInstanceForType()
-
-
-
-