Package proto.rpc.webrtc.v1
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.goProtobuf type
proto.rpc.webrtc.v1.ICECandidate
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring candidate = 1 [json_name = "candidate"];
optional string sdp_mid = 2 [json_name = "sdpMid"];
optional uint32 sdpm_line_index = 3 [json_name = "sdpmLineIndex"];
optional string username_fragment = 4 [json_name = "usernameFragment"];
string candidate = 1 [json_name = "candidate"];
com.google.protobuf.ByteString
string candidate = 1 [json_name = "candidate"];
optional string sdp_mid = 2 [json_name = "sdpMid"];
com.google.protobuf.ByteString
optional string sdp_mid = 2 [json_name = "sdpMid"];
int
optional uint32 sdpm_line_index = 3 [json_name = "sdpmLineIndex"];
optional string username_fragment = 4 [json_name = "usernameFragment"];
com.google.protobuf.ByteString
optional string username_fragment = 4 [json_name = "usernameFragment"];
boolean
optional string sdp_mid = 2 [json_name = "sdpMid"];
boolean
optional uint32 sdpm_line_index = 3 [json_name = "sdpmLineIndex"];
boolean
optional string username_fragment = 4 [json_name = "usernameFragment"];
setCandidate
(String value) string candidate = 1 [json_name = "candidate"];
setCandidateBytes
(com.google.protobuf.ByteString value) string candidate = 1 [json_name = "candidate"];
optional string sdp_mid = 2 [json_name = "sdpMid"];
setSdpMidBytes
(com.google.protobuf.ByteString value) optional string sdp_mid = 2 [json_name = "sdpMid"];
setSdpmLineIndex
(int value) optional uint32 sdpm_line_index = 3 [json_name = "sdpmLineIndex"];
setUsernameFragment
(String value) optional string username_fragment = 4 [json_name = "usernameFragment"];
setUsernameFragmentBytes
(com.google.protobuf.ByteString value) optional string username_fragment = 4 [json_name = "usernameFragment"];
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
-
getCandidate
string candidate = 1 [json_name = "candidate"];
- Specified by:
getCandidate
in interfaceSignaling.ICECandidateOrBuilder
- Returns:
- The candidate.
-
getCandidateBytes
public com.google.protobuf.ByteString getCandidateBytes()string candidate = 1 [json_name = "candidate"];
- Specified by:
getCandidateBytes
in interfaceSignaling.ICECandidateOrBuilder
- Returns:
- The bytes for candidate.
-
setCandidate
string candidate = 1 [json_name = "candidate"];
- Parameters:
value
- The candidate to set.- Returns:
- This builder for chaining.
-
clearCandidate
string candidate = 1 [json_name = "candidate"];
- Returns:
- This builder for chaining.
-
setCandidateBytes
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 interfaceSignaling.ICECandidateOrBuilder
- Returns:
- Whether the sdpMid field is set.
-
getSdpMid
optional string sdp_mid = 2 [json_name = "sdpMid"];
- Specified by:
getSdpMid
in interfaceSignaling.ICECandidateOrBuilder
- Returns:
- The sdpMid.
-
getSdpMidBytes
public com.google.protobuf.ByteString getSdpMidBytes()optional string sdp_mid = 2 [json_name = "sdpMid"];
- Specified by:
getSdpMidBytes
in interfaceSignaling.ICECandidateOrBuilder
- Returns:
- The bytes for sdpMid.
-
setSdpMid
optional string sdp_mid = 2 [json_name = "sdpMid"];
- Parameters:
value
- The sdpMid to set.- Returns:
- This builder for chaining.
-
clearSdpMid
optional string sdp_mid = 2 [json_name = "sdpMid"];
- Returns:
- This builder for chaining.
-
setSdpMidBytes
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 interfaceSignaling.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 interfaceSignaling.ICECandidateOrBuilder
- Returns:
- The sdpmLineIndex.
-
setSdpmLineIndex
optional uint32 sdpm_line_index = 3 [json_name = "sdpmLineIndex"];
- Parameters:
value
- The sdpmLineIndex to set.- Returns:
- This builder for chaining.
-
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 interfaceSignaling.ICECandidateOrBuilder
- Returns:
- Whether the usernameFragment field is set.
-
getUsernameFragment
optional string username_fragment = 4 [json_name = "usernameFragment"];
- Specified by:
getUsernameFragment
in interfaceSignaling.ICECandidateOrBuilder
- Returns:
- The usernameFragment.
-
getUsernameFragmentBytes
public com.google.protobuf.ByteString getUsernameFragmentBytes()optional string username_fragment = 4 [json_name = "usernameFragment"];
- Specified by:
getUsernameFragmentBytes
in interfaceSignaling.ICECandidateOrBuilder
- Returns:
- The bytes for usernameFragment.
-
setUsernameFragment
optional string username_fragment = 4 [json_name = "usernameFragment"];
- Parameters:
value
- The usernameFragment to set.- Returns:
- This builder for chaining.
-
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.
-