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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Stream.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Stream.Builder>
public Stream getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Stream build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Stream buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Stream.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Stream.Builder>
java.io.IOException
public int getMode()
Mode identifies the type of stream.
int32 mode = 1 [json_name = "mode"];
getMode
in interface StreamOrBuilder
public 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 StreamOrBuilder
public com.google.protobuf.ByteString getSubjectBytes()
Subject is the primary identifier, if any.
string subject = 2 [json_name = "subject"];
getSubjectBytes
in interface StreamOrBuilder
public 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 StreamOrBuilder
public com.google.protobuf.ByteString getSubcontextBytes()
Subcontext is a secondary identifier, if any.
string subcontext = 3 [json_name = "subcontext"];
getSubcontextBytes
in interface StreamOrBuilder
public 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 StreamOrBuilder
public 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 StreamOrBuilder
public 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.