Class Topic.Builder
-
- All Implemented Interfaces:
-
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,xyz.block.ftl.schema.v1.TopicOrBuilder
public final class Topic.Builder extends GeneratedMessageV3.Builder<BuilderT> implements TopicOrBuilder
Protobuf type
xyz.block.ftl.schema.v1.Topic
-
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()Topic.Builderclear()Descriptors.DescriptorgetDescriptorForType()TopicgetDefaultInstanceForType()Topicbuild()TopicbuildPartial()Topic.Builderclone()Topic.BuildersetField(Descriptors.FieldDescriptor field, Object value)Topic.BuilderclearField(Descriptors.FieldDescriptor field)Topic.BuilderclearOneof(Descriptors.OneofDescriptor oneof)Topic.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)Topic.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, Object value)Topic.BuildermergeFrom(Message other)Topic.BuildermergeFrom(Topic other)final booleanisInitialized()Topic.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)booleanhasPos()optional .xyz.block.ftl.schema.v1.Position pos = 1;PositiongetPos()optional .xyz.block.ftl.schema.v1.Position pos = 1;Topic.BuildersetPos(Position value)optional .xyz.block.ftl.schema.v1.Position pos = 1;Topic.BuildersetPos(Position.Builder builderForValue)optional .xyz.block.ftl.schema.v1.Position pos = 1;Topic.BuildermergePos(Position value)optional .xyz.block.ftl.schema.v1.Position pos = 1;Topic.BuilderclearPos()optional .xyz.block.ftl.schema.v1.Position pos = 1;Position.BuildergetPosBuilder()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;Topic.BuildersetRuntime(TopicRuntime value)optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;Topic.BuildersetRuntime(TopicRuntime.Builder builderForValue)optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;Topic.BuildermergeRuntime(TopicRuntime value)optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;Topic.BuilderclearRuntime()optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;TopicRuntime.BuildergetRuntimeBuilder()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;Topic.BuildersetComments(int index, String value)repeated string comments = 2;Topic.BuilderaddComments(String value)repeated string comments = 2;Topic.BuilderaddAllComments(Iterable<String> values)repeated string comments = 2;Topic.BuilderclearComments()repeated string comments = 2;Topic.BuilderaddCommentsBytes(ByteString value)repeated string comments = 2;booleangetExport()bool export = 3;Topic.BuildersetExport(boolean value)bool export = 3;Topic.BuilderclearExport()bool export = 3;StringgetName()string name = 4;ByteStringgetNameBytes()string name = 4;Topic.BuildersetName(String value)string name = 4;Topic.BuilderclearName()string name = 4;Topic.BuildersetNameBytes(ByteString value)string name = 4;booleanhasEvent().xyz.block.ftl.schema.v1.Type event = 5;TypegetEvent().xyz.block.ftl.schema.v1.Type event = 5;Topic.BuildersetEvent(Type value).xyz.block.ftl.schema.v1.Type event = 5;Topic.BuildersetEvent(Type.Builder builderForValue).xyz.block.ftl.schema.v1.Type event = 5;Topic.BuildermergeEvent(Type value).xyz.block.ftl.schema.v1.Type event = 5;Topic.BuilderclearEvent().xyz.block.ftl.schema.v1.Type event = 5;Type.BuildergetEventBuilder().xyz.block.ftl.schema.v1.Type event = 5;TypeOrBuildergetEventOrBuilder().xyz.block.ftl.schema.v1.Type event = 5;List<Metadata>getMetadataList()repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;intgetMetadataCount()repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;MetadatagetMetadata(int index)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;Topic.BuildersetMetadata(int index, Metadata value)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;Topic.BuildersetMetadata(int index, Metadata.Builder builderForValue)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;Topic.BuilderaddMetadata(Metadata value)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;Topic.BuilderaddMetadata(int index, Metadata value)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;Topic.BuilderaddMetadata(Metadata.Builder builderForValue)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;Topic.BuilderaddMetadata(int index, Metadata.Builder builderForValue)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;Topic.BuilderaddAllMetadata(Iterable<out Metadata> values)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;Topic.BuilderclearMetadata()repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;Topic.BuilderremoveMetadata(int index)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;Metadata.BuildergetMetadataBuilder(int index)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;MetadataOrBuildergetMetadataOrBuilder(int index)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;List<out MetadataOrBuilder>getMetadataOrBuilderList()repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;Metadata.BuilderaddMetadataBuilder()repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;Metadata.BuilderaddMetadataBuilder(int index)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;List<Metadata.Builder>getMetadataBuilderList()repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;final Topic.BuildersetUnknownFields(UnknownFieldSet unknownFields)final Topic.BuildermergeUnknownFields(UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField -
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
clear, clearOneof, clone, findInitializationErrors, getInitializationErrorString, mergeUnknownFields, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.Message.Builder
addRepeatedField, clear, clearField, clearOneof, clone, mergeFrom, mergeUnknownFields, setField, setRepeatedField, setUnknownFields -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial -
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()
-
clear
Topic.Builder clear()
-
getDescriptorForType
Descriptors.Descriptor getDescriptorForType()
-
getDefaultInstanceForType
Topic getDefaultInstanceForType()
-
buildPartial
Topic buildPartial()
-
clone
Topic.Builder clone()
-
setField
Topic.Builder setField(Descriptors.FieldDescriptor field, Object value)
-
clearField
Topic.Builder clearField(Descriptors.FieldDescriptor field)
-
clearOneof
Topic.Builder clearOneof(Descriptors.OneofDescriptor oneof)
-
setRepeatedField
Topic.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
-
addRepeatedField
Topic.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
-
mergeFrom
Topic.Builder mergeFrom(Message other)
-
mergeFrom
Topic.Builder mergeFrom(Topic other)
-
isInitialized
final boolean isInitialized()
-
mergeFrom
Topic.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
hasPos
boolean hasPos()
optional .xyz.block.ftl.schema.v1.Position pos = 1;- Returns:
Whether the pos field is set.
-
setPos
Topic.Builder setPos(Position value)
optional .xyz.block.ftl.schema.v1.Position pos = 1;
-
setPos
Topic.Builder setPos(Position.Builder builderForValue)
optional .xyz.block.ftl.schema.v1.Position pos = 1;
-
mergePos
Topic.Builder mergePos(Position value)
optional .xyz.block.ftl.schema.v1.Position pos = 1;
-
clearPos
Topic.Builder clearPos()
optional .xyz.block.ftl.schema.v1.Position pos = 1;
-
getPosBuilder
Position.Builder getPosBuilder()
optional .xyz.block.ftl.schema.v1.Position pos = 1;
-
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.
-
setRuntime
Topic.Builder setRuntime(TopicRuntime value)
optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;
-
setRuntime
Topic.Builder setRuntime(TopicRuntime.Builder builderForValue)
optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;
-
mergeRuntime
Topic.Builder mergeRuntime(TopicRuntime value)
optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;
-
clearRuntime
Topic.Builder clearRuntime()
optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;
-
getRuntimeBuilder
TopicRuntime.Builder getRuntimeBuilder()
optional .xyz.block.ftl.schema.v1.TopicRuntime runtime = 31634;
-
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.
-
setComments
Topic.Builder setComments(int index, String value)
repeated string comments = 2;- Parameters:
index- The index to set the value at.value- The comments to set.- Returns:
This builder for chaining.
-
addComments
Topic.Builder addComments(String value)
repeated string comments = 2;- Parameters:
value- The comments to add.- Returns:
This builder for chaining.
-
addAllComments
Topic.Builder addAllComments(Iterable<String> values)
repeated string comments = 2;- Parameters:
values- The comments to add.- Returns:
This builder for chaining.
-
clearComments
Topic.Builder clearComments()
repeated string comments = 2;- Returns:
This builder for chaining.
-
addCommentsBytes
Topic.Builder addCommentsBytes(ByteString value)
repeated string comments = 2;- Parameters:
value- The bytes of the comments to add.- Returns:
This builder for chaining.
-
getExport
boolean getExport()
bool export = 3;- Returns:
The export.
-
setExport
Topic.Builder setExport(boolean value)
bool export = 3;- Parameters:
value- The export to set.- Returns:
This builder for chaining.
-
clearExport
Topic.Builder clearExport()
bool export = 3;- Returns:
This builder for chaining.
-
getNameBytes
ByteString getNameBytes()
string name = 4;- Returns:
The bytes for name.
-
setName
Topic.Builder setName(String value)
string name = 4;- Parameters:
value- The name to set.- Returns:
This builder for chaining.
-
clearName
Topic.Builder clearName()
string name = 4;- Returns:
This builder for chaining.
-
setNameBytes
Topic.Builder setNameBytes(ByteString value)
string name = 4;- Parameters:
value- The bytes for name to set.- Returns:
This builder for chaining.
-
hasEvent
boolean hasEvent()
.xyz.block.ftl.schema.v1.Type event = 5;- Returns:
Whether the event field is set.
-
setEvent
Topic.Builder setEvent(Type value)
.xyz.block.ftl.schema.v1.Type event = 5;
-
setEvent
Topic.Builder setEvent(Type.Builder builderForValue)
.xyz.block.ftl.schema.v1.Type event = 5;
-
mergeEvent
Topic.Builder mergeEvent(Type value)
.xyz.block.ftl.schema.v1.Type event = 5;
-
clearEvent
Topic.Builder clearEvent()
.xyz.block.ftl.schema.v1.Type event = 5;
-
getEventBuilder
Type.Builder getEventBuilder()
.xyz.block.ftl.schema.v1.Type event = 5;
-
getEventOrBuilder
TypeOrBuilder getEventOrBuilder()
.xyz.block.ftl.schema.v1.Type event = 5;
-
getMetadataList
List<Metadata> getMetadataList()
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
getMetadataCount
int getMetadataCount()
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
getMetadata
Metadata getMetadata(int index)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
setMetadata
Topic.Builder setMetadata(int index, Metadata value)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
setMetadata
Topic.Builder setMetadata(int index, Metadata.Builder builderForValue)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
addMetadata
Topic.Builder addMetadata(Metadata value)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
addMetadata
Topic.Builder addMetadata(int index, Metadata value)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
addMetadata
Topic.Builder addMetadata(Metadata.Builder builderForValue)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
addMetadata
Topic.Builder addMetadata(int index, Metadata.Builder builderForValue)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
addAllMetadata
Topic.Builder addAllMetadata(Iterable<out Metadata> values)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
clearMetadata
Topic.Builder clearMetadata()
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
removeMetadata
Topic.Builder removeMetadata(int index)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
getMetadataBuilder
Metadata.Builder getMetadataBuilder(int index)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
getMetadataOrBuilder
MetadataOrBuilder getMetadataOrBuilder(int index)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
getMetadataOrBuilderList
List<out MetadataOrBuilder> getMetadataOrBuilderList()
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
addMetadataBuilder
Metadata.Builder addMetadataBuilder()
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
addMetadataBuilder
Metadata.Builder addMetadataBuilder(int index)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
getMetadataBuilderList
List<Metadata.Builder> getMetadataBuilderList()
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
setUnknownFields
final Topic.Builder setUnknownFields(UnknownFieldSet unknownFields)
-
mergeUnknownFields
final Topic.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
-
-
-
-