public static final class Stream.Builder extends com.google.protobuf.GeneratedMessage.Builder<Stream.Builder> implements StreamOrBuilder
Represents identifying information for a stream.Protobuf type
nakama.realtime.Stream| Modifier and Type | Method and Description |
|---|---|
Stream |
build() |
Stream |
buildPartial() |
Stream.Builder |
clear() |
Stream.Builder |
clearLabel()
The label is an arbitrary identifying string, if the stream has one.
|
Stream.Builder |
clearMode()
Mode identifies the type of stream.
|
Stream.Builder |
clearSubcontext()
Subcontext is a secondary identifier, if any.
|
Stream.Builder |
clearSubject()
Subject is the primary identifier, if any.
|
Stream |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getLabel()
The label is an arbitrary identifying string, if the stream has one.
|
com.google.protobuf.ByteString |
getLabelBytes()
The label is an arbitrary identifying string, if the stream has one.
|
int |
getMode()
Mode identifies the type of stream.
|
java.lang.String |
getSubcontext()
Subcontext is a secondary identifier, if any.
|
com.google.protobuf.ByteString |
getSubcontextBytes()
Subcontext is a secondary identifier, if any.
|
java.lang.String |
getSubject()
Subject is the primary identifier, if any.
|
com.google.protobuf.ByteString |
getSubjectBytes()
Subject is the primary identifier, if any.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Stream.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Stream.Builder |
mergeFrom(com.google.protobuf.Message other) |
Stream.Builder |
mergeFrom(Stream other) |
Stream.Builder |
setLabel(java.lang.String value)
The label is an arbitrary identifying string, if the stream has one.
|
Stream.Builder |
setLabelBytes(com.google.protobuf.ByteString value)
The label is an arbitrary identifying string, if the stream has one.
|
Stream.Builder |
setMode(int value)
Mode identifies the type of stream.
|
Stream.Builder |
setSubcontext(java.lang.String value)
Subcontext is a secondary identifier, if any.
|
Stream.Builder |
setSubcontextBytes(com.google.protobuf.ByteString value)
Subcontext is a secondary identifier, if any.
|
Stream.Builder |
setSubject(java.lang.String value)
Subject is the primary identifier, if any.
|
Stream.Builder |
setSubjectBytes(com.google.protobuf.ByteString value)
Subject is the primary identifier, if any.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Stream.Builder>public Stream.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Stream.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Stream.Builder>public Stream getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Stream build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Stream buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Stream.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Stream.Builder>public Stream.Builder mergeFrom(Stream other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Stream.Builder>public Stream.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Stream.Builder>java.io.IOExceptionpublic int getMode()
Mode identifies the type of stream.
int32 mode = 1 [json_name = "mode"];getMode in interface StreamOrBuilderpublic Stream.Builder setMode(int value)
Mode identifies the type of stream.
int32 mode = 1 [json_name = "mode"];value - The mode to set.public Stream.Builder clearMode()
Mode identifies the type of stream.
int32 mode = 1 [json_name = "mode"];public java.lang.String getSubject()
Subject is the primary identifier, if any.
string subject = 2 [json_name = "subject"];getSubject in interface StreamOrBuilderpublic com.google.protobuf.ByteString getSubjectBytes()
Subject is the primary identifier, if any.
string subject = 2 [json_name = "subject"];getSubjectBytes in interface StreamOrBuilderpublic Stream.Builder setSubject(java.lang.String value)
Subject is the primary identifier, if any.
string subject = 2 [json_name = "subject"];value - The subject to set.public Stream.Builder clearSubject()
Subject is the primary identifier, if any.
string subject = 2 [json_name = "subject"];public Stream.Builder setSubjectBytes(com.google.protobuf.ByteString value)
Subject is the primary identifier, if any.
string subject = 2 [json_name = "subject"];value - The bytes for subject to set.public java.lang.String getSubcontext()
Subcontext is a secondary identifier, if any.
string subcontext = 3 [json_name = "subcontext"];getSubcontext in interface StreamOrBuilderpublic com.google.protobuf.ByteString getSubcontextBytes()
Subcontext is a secondary identifier, if any.
string subcontext = 3 [json_name = "subcontext"];getSubcontextBytes in interface StreamOrBuilderpublic Stream.Builder setSubcontext(java.lang.String value)
Subcontext is a secondary identifier, if any.
string subcontext = 3 [json_name = "subcontext"];value - The subcontext to set.public Stream.Builder clearSubcontext()
Subcontext is a secondary identifier, if any.
string subcontext = 3 [json_name = "subcontext"];public Stream.Builder setSubcontextBytes(com.google.protobuf.ByteString value)
Subcontext is a secondary identifier, if any.
string subcontext = 3 [json_name = "subcontext"];value - The bytes for subcontext to set.public java.lang.String getLabel()
The label is an arbitrary identifying string, if the stream has one.
string label = 4 [json_name = "label"];getLabel in interface StreamOrBuilderpublic com.google.protobuf.ByteString getLabelBytes()
The label is an arbitrary identifying string, if the stream has one.
string label = 4 [json_name = "label"];getLabelBytes in interface StreamOrBuilderpublic Stream.Builder setLabel(java.lang.String value)
The label is an arbitrary identifying string, if the stream has one.
string label = 4 [json_name = "label"];value - The label to set.public Stream.Builder clearLabel()
The label is an arbitrary identifying string, if the stream has one.
string label = 4 [json_name = "label"];public Stream.Builder setLabelBytes(com.google.protobuf.ByteString value)
The label is an arbitrary identifying string, if the stream has one.
string label = 4 [json_name = "label"];value - The bytes for label to set.