Package com.mux.spaces.api.proto.signals
Class Signals.Candidate.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
-
- com.mux.spaces.api.proto.signals.Signals.Candidate.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Signals.CandidateOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Signals.Candidate
public static final class Signals.Candidate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder> implements Signals.CandidateOrBuilder
Protobuf typemux.spaces.api.Candidate
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Signals.Candidate.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Signals.Candidate
build()
Signals.Candidate
buildPartial()
Signals.Candidate.Builder
clear()
Signals.Candidate.Builder
clearCandidate()
a single candidate emitted from onIceCandidateSignals.Candidate.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Signals.Candidate.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Signals.Candidate.Builder
clearSfuId()
string sfu_id = 3;
Signals.Candidate.Builder
clearType()
.mux.spaces.api.Candidate.Type type = 2;
Signals.Candidate.Builder
clone()
Signals.ICECandidate
getCandidate()
a single candidate emitted from onIceCandidateSignals.ICECandidate.Builder
getCandidateBuilder()
a single candidate emitted from onIceCandidateSignals.ICECandidateOrBuilder
getCandidateOrBuilder()
a single candidate emitted from onIceCandidateSignals.Candidate
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getSfuId()
string sfu_id = 3;
com.google.protobuf.ByteString
getSfuIdBytes()
string sfu_id = 3;
Signals.Candidate.Type
getType()
.mux.spaces.api.Candidate.Type type = 2;
int
getTypeValue()
.mux.spaces.api.Candidate.Type type = 2;
boolean
hasCandidate()
a single candidate emitted from onIceCandidateprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Signals.Candidate.Builder
mergeCandidate(Signals.ICECandidate value)
a single candidate emitted from onIceCandidateSignals.Candidate.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Signals.Candidate.Builder
mergeFrom(com.google.protobuf.Message other)
Signals.Candidate.Builder
mergeFrom(Signals.Candidate other)
Signals.Candidate.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Signals.Candidate.Builder
setCandidate(Signals.ICECandidate value)
a single candidate emitted from onIceCandidateSignals.Candidate.Builder
setCandidate(Signals.ICECandidate.Builder builderForValue)
a single candidate emitted from onIceCandidateSignals.Candidate.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Signals.Candidate.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Signals.Candidate.Builder
setSfuId(java.lang.String value)
string sfu_id = 3;
Signals.Candidate.Builder
setSfuIdBytes(com.google.protobuf.ByteString value)
string sfu_id = 3;
Signals.Candidate.Builder
setType(Signals.Candidate.Type value)
.mux.spaces.api.Candidate.Type type = 2;
Signals.Candidate.Builder
setTypeValue(int value)
.mux.spaces.api.Candidate.Type type = 2;
Signals.Candidate.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
-
clear
public Signals.Candidate.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
-
getDefaultInstanceForType
public Signals.Candidate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Signals.Candidate build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Signals.Candidate buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Signals.Candidate.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
-
setField
public Signals.Candidate.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
-
clearField
public Signals.Candidate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
-
clearOneof
public Signals.Candidate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
-
setRepeatedField
public Signals.Candidate.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
-
addRepeatedField
public Signals.Candidate.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
-
mergeFrom
public Signals.Candidate.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Signals.Candidate.Builder>
-
mergeFrom
public Signals.Candidate.Builder mergeFrom(Signals.Candidate other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
-
mergeFrom
public Signals.Candidate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Signals.Candidate.Builder>
- Throws:
java.io.IOException
-
hasCandidate
public boolean hasCandidate()
a single candidate emitted from onIceCandidate
.mux.spaces.api.ICECandidate candidate = 1;
- Specified by:
hasCandidate
in interfaceSignals.CandidateOrBuilder
- Returns:
- Whether the candidate field is set.
-
getCandidate
public Signals.ICECandidate getCandidate()
a single candidate emitted from onIceCandidate
.mux.spaces.api.ICECandidate candidate = 1;
- Specified by:
getCandidate
in interfaceSignals.CandidateOrBuilder
- Returns:
- The candidate.
-
setCandidate
public Signals.Candidate.Builder setCandidate(Signals.ICECandidate value)
a single candidate emitted from onIceCandidate
.mux.spaces.api.ICECandidate candidate = 1;
-
setCandidate
public Signals.Candidate.Builder setCandidate(Signals.ICECandidate.Builder builderForValue)
a single candidate emitted from onIceCandidate
.mux.spaces.api.ICECandidate candidate = 1;
-
mergeCandidate
public Signals.Candidate.Builder mergeCandidate(Signals.ICECandidate value)
a single candidate emitted from onIceCandidate
.mux.spaces.api.ICECandidate candidate = 1;
-
clearCandidate
public Signals.Candidate.Builder clearCandidate()
a single candidate emitted from onIceCandidate
.mux.spaces.api.ICECandidate candidate = 1;
-
getCandidateBuilder
public Signals.ICECandidate.Builder getCandidateBuilder()
a single candidate emitted from onIceCandidate
.mux.spaces.api.ICECandidate candidate = 1;
-
getCandidateOrBuilder
public Signals.ICECandidateOrBuilder getCandidateOrBuilder()
a single candidate emitted from onIceCandidate
.mux.spaces.api.ICECandidate candidate = 1;
- Specified by:
getCandidateOrBuilder
in interfaceSignals.CandidateOrBuilder
-
getTypeValue
public int getTypeValue()
.mux.spaces.api.Candidate.Type type = 2;
- Specified by:
getTypeValue
in interfaceSignals.CandidateOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public Signals.Candidate.Builder setTypeValue(int value)
.mux.spaces.api.Candidate.Type type = 2;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public Signals.Candidate.Type getType()
.mux.spaces.api.Candidate.Type type = 2;
- Specified by:
getType
in interfaceSignals.CandidateOrBuilder
- Returns:
- The type.
-
setType
public Signals.Candidate.Builder setType(Signals.Candidate.Type value)
.mux.spaces.api.Candidate.Type type = 2;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public Signals.Candidate.Builder clearType()
.mux.spaces.api.Candidate.Type type = 2;
- Returns:
- This builder for chaining.
-
getSfuId
public java.lang.String getSfuId()
string sfu_id = 3;
- Specified by:
getSfuId
in interfaceSignals.CandidateOrBuilder
- Returns:
- The sfuId.
-
getSfuIdBytes
public com.google.protobuf.ByteString getSfuIdBytes()
string sfu_id = 3;
- Specified by:
getSfuIdBytes
in interfaceSignals.CandidateOrBuilder
- Returns:
- The bytes for sfuId.
-
setSfuId
public Signals.Candidate.Builder setSfuId(java.lang.String value)
string sfu_id = 3;
- Parameters:
value
- The sfuId to set.- Returns:
- This builder for chaining.
-
clearSfuId
public Signals.Candidate.Builder clearSfuId()
string sfu_id = 3;
- Returns:
- This builder for chaining.
-
setSfuIdBytes
public Signals.Candidate.Builder setSfuIdBytes(com.google.protobuf.ByteString value)
string sfu_id = 3;
- Parameters:
value
- The bytes for sfuId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Signals.Candidate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
-
mergeUnknownFields
public final Signals.Candidate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
-
-