Class Signaling.ICECandidate.Builder

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

public static final class Signaling.ICECandidate.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Signaling.ICECandidate,Signaling.ICECandidate.Builder> implements Signaling.ICECandidateOrBuilder
 ICECandidate represents an ICE candidate.
 From https://github.com/pion/webrtc/blob/5f6baf73255598a7b4a7c9400bb0381acc9aa3dc/icecandidateinit.go
 
Protobuf type proto.rpc.webrtc.v1.ICECandidate
  • Method Details

    • getCandidate

      public String getCandidate()
      string candidate = 1 [json_name = "candidate"];
      Specified by:
      getCandidate in interface Signaling.ICECandidateOrBuilder
      Returns:
      The candidate.
    • getCandidateBytes

      public com.google.protobuf.ByteString getCandidateBytes()
      string candidate = 1 [json_name = "candidate"];
      Specified by:
      getCandidateBytes in interface Signaling.ICECandidateOrBuilder
      Returns:
      The bytes for candidate.
    • setCandidate

      public Signaling.ICECandidate.Builder setCandidate(String value)
      string candidate = 1 [json_name = "candidate"];
      Parameters:
      value - The candidate to set.
      Returns:
      This builder for chaining.
    • clearCandidate

      public Signaling.ICECandidate.Builder clearCandidate()
      string candidate = 1 [json_name = "candidate"];
      Returns:
      This builder for chaining.
    • setCandidateBytes

      public Signaling.ICECandidate.Builder setCandidateBytes(com.google.protobuf.ByteString value)
      string candidate = 1 [json_name = "candidate"];
      Parameters:
      value - The bytes for candidate to set.
      Returns:
      This builder for chaining.
    • hasSdpMid

      public boolean hasSdpMid()
      optional string sdp_mid = 2 [json_name = "sdpMid"];
      Specified by:
      hasSdpMid in interface Signaling.ICECandidateOrBuilder
      Returns:
      Whether the sdpMid field is set.
    • getSdpMid

      public String getSdpMid()
      optional string sdp_mid = 2 [json_name = "sdpMid"];
      Specified by:
      getSdpMid in interface Signaling.ICECandidateOrBuilder
      Returns:
      The sdpMid.
    • getSdpMidBytes

      public com.google.protobuf.ByteString getSdpMidBytes()
      optional string sdp_mid = 2 [json_name = "sdpMid"];
      Specified by:
      getSdpMidBytes in interface Signaling.ICECandidateOrBuilder
      Returns:
      The bytes for sdpMid.
    • setSdpMid

      public Signaling.ICECandidate.Builder setSdpMid(String value)
      optional string sdp_mid = 2 [json_name = "sdpMid"];
      Parameters:
      value - The sdpMid to set.
      Returns:
      This builder for chaining.
    • clearSdpMid

      public Signaling.ICECandidate.Builder clearSdpMid()
      optional string sdp_mid = 2 [json_name = "sdpMid"];
      Returns:
      This builder for chaining.
    • setSdpMidBytes

      public Signaling.ICECandidate.Builder setSdpMidBytes(com.google.protobuf.ByteString value)
      optional string sdp_mid = 2 [json_name = "sdpMid"];
      Parameters:
      value - The bytes for sdpMid to set.
      Returns:
      This builder for chaining.
    • hasSdpmLineIndex

      public boolean hasSdpmLineIndex()
      optional uint32 sdpm_line_index = 3 [json_name = "sdpmLineIndex"];
      Specified by:
      hasSdpmLineIndex in interface Signaling.ICECandidateOrBuilder
      Returns:
      Whether the sdpmLineIndex field is set.
    • getSdpmLineIndex

      public int getSdpmLineIndex()
      optional uint32 sdpm_line_index = 3 [json_name = "sdpmLineIndex"];
      Specified by:
      getSdpmLineIndex in interface Signaling.ICECandidateOrBuilder
      Returns:
      The sdpmLineIndex.
    • setSdpmLineIndex

      public Signaling.ICECandidate.Builder setSdpmLineIndex(int value)
      optional uint32 sdpm_line_index = 3 [json_name = "sdpmLineIndex"];
      Parameters:
      value - The sdpmLineIndex to set.
      Returns:
      This builder for chaining.
    • clearSdpmLineIndex

      public Signaling.ICECandidate.Builder clearSdpmLineIndex()
      optional uint32 sdpm_line_index = 3 [json_name = "sdpmLineIndex"];
      Returns:
      This builder for chaining.
    • hasUsernameFragment

      public boolean hasUsernameFragment()
      optional string username_fragment = 4 [json_name = "usernameFragment"];
      Specified by:
      hasUsernameFragment in interface Signaling.ICECandidateOrBuilder
      Returns:
      Whether the usernameFragment field is set.
    • getUsernameFragment

      public String getUsernameFragment()
      optional string username_fragment = 4 [json_name = "usernameFragment"];
      Specified by:
      getUsernameFragment in interface Signaling.ICECandidateOrBuilder
      Returns:
      The usernameFragment.
    • getUsernameFragmentBytes

      public com.google.protobuf.ByteString getUsernameFragmentBytes()
      optional string username_fragment = 4 [json_name = "usernameFragment"];
      Specified by:
      getUsernameFragmentBytes in interface Signaling.ICECandidateOrBuilder
      Returns:
      The bytes for usernameFragment.
    • setUsernameFragment

      public Signaling.ICECandidate.Builder setUsernameFragment(String value)
      optional string username_fragment = 4 [json_name = "usernameFragment"];
      Parameters:
      value - The usernameFragment to set.
      Returns:
      This builder for chaining.
    • clearUsernameFragment

      public Signaling.ICECandidate.Builder clearUsernameFragment()
      optional string username_fragment = 4 [json_name = "usernameFragment"];
      Returns:
      This builder for chaining.
    • setUsernameFragmentBytes

      public Signaling.ICECandidate.Builder setUsernameFragmentBytes(com.google.protobuf.ByteString value)
      optional string username_fragment = 4 [json_name = "usernameFragment"];
      Parameters:
      value - The bytes for usernameFragment to set.
      Returns:
      This builder for chaining.