Class Signaling.ConnectionCandidate.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Signaling.ConnectionCandidate,Signaling.ConnectionCandidate.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Signaling.ConnectionCandidate,Signaling.ConnectionCandidate.Builder>
proto.rpc.webrtc.v1.Signaling.ConnectionCandidate.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, Signaling.ConnectionCandidateOrBuilder
Enclosing class:
Signaling.ConnectionCandidate

public static final class Signaling.ConnectionCandidate.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Signaling.ConnectionCandidate,Signaling.ConnectionCandidate.Builder> implements Signaling.ConnectionCandidateOrBuilder
 ConnectionCandidate describes the selected ICE candidate for one side of a WebRTC connection.
 
Protobuf type proto.rpc.webrtc.v1.ConnectionCandidate
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    relay_address is the relay server address of this candidate; set only when type is RELAY, so the signaling server can classify the provider by matching against known coturn addresses.
    .proto.rpc.webrtc.v1.ICECandidateType type = 1 [json_name = "type"];
    relay_address is the relay server address of this candidate; set only when type is RELAY, so the signaling server can classify the provider by matching against known coturn addresses.
    com.google.protobuf.ByteString
    relay_address is the relay server address of this candidate; set only when type is RELAY, so the signaling server can classify the provider by matching against known coturn addresses.
    .proto.rpc.webrtc.v1.ICECandidateType type = 1 [json_name = "type"];
    int
    .proto.rpc.webrtc.v1.ICECandidateType type = 1 [json_name = "type"];
    relay_address is the relay server address of this candidate; set only when type is RELAY, so the signaling server can classify the provider by matching against known coturn addresses.
    setRelayAddressBytes(com.google.protobuf.ByteString value)
    relay_address is the relay server address of this candidate; set only when type is RELAY, so the signaling server can classify the provider by matching against known coturn addresses.
    .proto.rpc.webrtc.v1.ICECandidateType type = 1 [json_name = "type"];
    setTypeValue(int value)
    .proto.rpc.webrtc.v1.ICECandidateType type = 1 [json_name = "type"];

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getTypeValue

      public int getTypeValue()
      .proto.rpc.webrtc.v1.ICECandidateType type = 1 [json_name = "type"];
      Specified by:
      getTypeValue in interface Signaling.ConnectionCandidateOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public Signaling.ConnectionCandidate.Builder setTypeValue(int value)
      .proto.rpc.webrtc.v1.ICECandidateType type = 1 [json_name = "type"];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • getType

      public Signaling.ICECandidateType getType()
      .proto.rpc.webrtc.v1.ICECandidateType type = 1 [json_name = "type"];
      Specified by:
      getType in interface Signaling.ConnectionCandidateOrBuilder
      Returns:
      The type.
    • setType

      .proto.rpc.webrtc.v1.ICECandidateType type = 1 [json_name = "type"];
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
      Throws:
      IllegalArgumentException - if UNRECOGNIZED is provided.
    • clearType

      .proto.rpc.webrtc.v1.ICECandidateType type = 1 [json_name = "type"];
      Returns:
      This builder for chaining.
    • getRelayAddress

      public String getRelayAddress()
       relay_address is the relay server address of this candidate; set only when type is
       RELAY, so the signaling server can classify the provider by matching against known
       coturn addresses.
       
      string relay_address = 2 [json_name = "relayAddress"];
      Specified by:
      getRelayAddress in interface Signaling.ConnectionCandidateOrBuilder
      Returns:
      The relayAddress.
    • getRelayAddressBytes

      public com.google.protobuf.ByteString getRelayAddressBytes()
       relay_address is the relay server address of this candidate; set only when type is
       RELAY, so the signaling server can classify the provider by matching against known
       coturn addresses.
       
      string relay_address = 2 [json_name = "relayAddress"];
      Specified by:
      getRelayAddressBytes in interface Signaling.ConnectionCandidateOrBuilder
      Returns:
      The bytes for relayAddress.
    • setRelayAddress

      public Signaling.ConnectionCandidate.Builder setRelayAddress(String value)
       relay_address is the relay server address of this candidate; set only when type is
       RELAY, so the signaling server can classify the provider by matching against known
       coturn addresses.
       
      string relay_address = 2 [json_name = "relayAddress"];
      Parameters:
      value - The relayAddress to set.
      Returns:
      This builder for chaining.
    • clearRelayAddress

      public Signaling.ConnectionCandidate.Builder clearRelayAddress()
       relay_address is the relay server address of this candidate; set only when type is
       RELAY, so the signaling server can classify the provider by matching against known
       coturn addresses.
       
      string relay_address = 2 [json_name = "relayAddress"];
      Returns:
      This builder for chaining.
    • setRelayAddressBytes

      public Signaling.ConnectionCandidate.Builder setRelayAddressBytes(com.google.protobuf.ByteString value)
       relay_address is the relay server address of this candidate; set only when type is
       RELAY, so the signaling server can classify the provider by matching against known
       coturn addresses.
       
      string relay_address = 2 [json_name = "relayAddress"];
      Parameters:
      value - The bytes for relayAddress to set.
      Returns:
      This builder for chaining.