Class Topic
-
- 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.schema.v1.TopicOrBuilder
public final class Topic extends GeneratedMessageV3 implements TopicOrBuilder
Protobuf type
xyz.block.ftl.schema.v1.Topic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTopic.BuilderProtobuf type
xyz.block.ftl.schema.v1.Topic
-
Field Summary
Fields Modifier and Type Field Description public final static intPOS_FIELD_NUMBERpublic final static intRUNTIME_FIELD_NUMBERpublic final static intCOMMENTS_FIELD_NUMBERpublic final static intEXPORT_FIELD_NUMBERpublic final static intNAME_FIELD_NUMBERpublic final static intEVENT_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()booleanhasPos()optional .xyz.block.ftl.schema.v1.Position pos = 1;PositiongetPos()optional .xyz.block.ftl.schema.v1.Position pos = 1;PositionOrBuildergetPosOrBuilder()optional .xyz.block.ftl.schema.v1.Position pos = 1;booleanhasRuntime()optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;TopicRuntimegetRuntime()optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;TopicRuntimeOrBuildergetRuntimeOrBuilder()optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;ProtocolStringListgetCommentsList()repeated string comments = 2;intgetCommentsCount()repeated string comments = 2;StringgetComments(int index)repeated string comments = 2;ByteStringgetCommentsBytes(int index)repeated string comments = 2;booleangetExport()bool export = 3;StringgetName()string name = 4;ByteStringgetNameBytes()string name = 4;booleanhasEvent().xyz.block.ftl.schema.v1.Type event = 5;TypegetEvent().xyz.block.ftl.schema.v1.Type event = 5;TypeOrBuildergetEventOrBuilder().xyz.block.ftl.schema.v1.Type event = 5;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static TopicparseFrom(ByteBuffer data)static TopicparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static TopicparseFrom(ByteString data)static TopicparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static TopicparseFrom(Array<byte> data)static TopicparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static TopicparseFrom(InputStream input)static TopicparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static TopicparseDelimitedFrom(InputStream input)static TopicparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static TopicparseFrom(CodedInputStream input)static TopicparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)Topic.BuildernewBuilderForType()static Topic.BuildernewBuilder()static Topic.BuildernewBuilder(Topic prototype)Topic.BuildertoBuilder()static TopicgetDefaultInstance()static Parser<Topic>parser()Parser<Topic>getParserForType()TopicgetDefaultInstanceForType()-
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.schema.v1.Position pos = 1;- Returns:
Whether the pos field is set.
-
getPosOrBuilder
PositionOrBuilder getPosOrBuilder()
optional .xyz.block.ftl.schema.v1.Position pos = 1;
-
hasRuntime
boolean hasRuntime()
optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;- Returns:
Whether the runtime field is set.
-
getRuntime
TopicRuntime getRuntime()
optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;- Returns:
The runtime.
-
getRuntimeOrBuilder
TopicRuntimeOrBuilder getRuntimeOrBuilder()
optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;
-
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.
-
getExport
boolean getExport()
bool export = 3;- Returns:
The export.
-
getNameBytes
ByteString getNameBytes()
string name = 4;- Returns:
The bytes for name.
-
hasEvent
boolean hasEvent()
.xyz.block.ftl.schema.v1.Type event = 5;- Returns:
Whether the event field is set.
-
getEventOrBuilder
TypeOrBuilder getEventOrBuilder()
.xyz.block.ftl.schema.v1.Type event = 5;
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static Topic parseFrom(ByteBuffer data)
-
parseFrom
static Topic parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Topic parseFrom(InputStream input)
-
parseFrom
static Topic parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static Topic parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static Topic parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
Topic.Builder newBuilderForType()
-
newBuilder
static Topic.Builder newBuilder()
-
newBuilder
static Topic.Builder newBuilder(Topic prototype)
-
toBuilder
Topic.Builder toBuilder()
-
getDefaultInstance
static Topic getDefaultInstance()
-
getParserForType
Parser<Topic> getParserForType()
-
getDefaultInstanceForType
Topic getDefaultInstanceForType()
-
-
-
-