Class 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 type mux.spaces.api.Candidate
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
      • clear

        public Signals.Candidate.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
      • getDefaultInstanceForType

        public Signals.Candidate getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Signals.Candidate build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Signals.Candidate buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Signals.Candidate.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
      • clearField

        public Signals.Candidate.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
      • clearOneof

        public Signals.Candidate.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
      • mergeFrom

        public Signals.Candidate.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Signals.Candidate.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface Signals.CandidateOrBuilder
        Returns:
        Whether the candidate field is set.
      • 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;
      • getTypeValue

        public int getTypeValue()
        .mux.spaces.api.Candidate.Type type = 2;
        Specified by:
        getTypeValue in interface Signals.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.
      • clearType

        public Signals.Candidate.Builder clearType()
        .mux.spaces.api.Candidate.Type type = 2;
        Returns:
        This builder for chaining.
      • 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.
      • 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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>
      • mergeUnknownFields

        public final Signals.Candidate.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.Candidate.Builder>