Package xyz.block.ftl.v1.schema
Class Subscription
-
- 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.SubscriptionOrBuilder
public final class Subscription extends GeneratedMessageV3 implements SubscriptionOrBuilder
Protobuf type
xyz.block.ftl.v1.schema.Subscription
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSubscription.BuilderProtobuf type
xyz.block.ftl.v1.schema.Subscription
-
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 intTOPIC_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;booleanhasTopic().xyz.block.ftl.v1.schema.Ref topic = 4;RefgetTopic().xyz.block.ftl.v1.schema.Ref topic = 4;RefOrBuildergetTopicOrBuilder().xyz.block.ftl.v1.schema.Ref topic = 4;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static SubscriptionparseFrom(ByteBuffer data)static SubscriptionparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static SubscriptionparseFrom(ByteString data)static SubscriptionparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static SubscriptionparseFrom(Array<byte> data)static SubscriptionparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static SubscriptionparseFrom(InputStream input)static SubscriptionparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static SubscriptionparseDelimitedFrom(InputStream input)static SubscriptionparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static SubscriptionparseFrom(CodedInputStream input)static SubscriptionparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)Subscription.BuildernewBuilderForType()static Subscription.BuildernewBuilder()static Subscription.BuildernewBuilder(Subscription prototype)Subscription.BuildertoBuilder()static SubscriptiongetDefaultInstance()static Parser<Subscription>parser()Parser<Subscription>getParserForType()SubscriptiongetDefaultInstanceForType()-
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.
-
hasTopic
boolean hasTopic()
.xyz.block.ftl.v1.schema.Ref topic = 4;- Returns:
Whether the topic field is set.
-
getTopicOrBuilder
RefOrBuilder getTopicOrBuilder()
.xyz.block.ftl.v1.schema.Ref topic = 4;
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static Subscription parseFrom(ByteBuffer data)
-
parseFrom
static Subscription parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Subscription parseFrom(ByteString data)
-
parseFrom
static Subscription parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Subscription parseFrom(Array<byte> data)
-
parseFrom
static Subscription parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Subscription parseFrom(InputStream input)
-
parseFrom
static Subscription parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static Subscription parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static Subscription parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Subscription parseFrom(CodedInputStream input)
-
parseFrom
static Subscription parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
Subscription.Builder newBuilderForType()
-
newBuilder
static Subscription.Builder newBuilder()
-
newBuilder
static Subscription.Builder newBuilder(Subscription prototype)
-
toBuilder
Subscription.Builder toBuilder()
-
getDefaultInstance
static Subscription getDefaultInstance()
-
parser
static Parser<Subscription> parser()
-
getParserForType
Parser<Subscription> getParserForType()
-
getDefaultInstanceForType
Subscription getDefaultInstanceForType()
-
-
-
-