Package proto.rpc.webrtc.v1
Class Signaling.ICEServer.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Signaling.ICEServer,Signaling.ICEServer.Builder>
proto.rpc.webrtc.v1.Signaling.ICEServer.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Signaling.ICEServerOrBuilder
- Enclosing class:
- Signaling.ICEServer
public static final class Signaling.ICEServer.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Signaling.ICEServer,Signaling.ICEServer.Builder>
implements Signaling.ICEServerOrBuilder
ICEServer describes an ICE server.Protobuf type
proto.rpc.webrtc.v1.ICEServer
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllUrls
(Iterable<String> values) repeated string urls = 1 [json_name = "urls"];
repeated string urls = 1 [json_name = "urls"];
addUrlsBytes
(com.google.protobuf.ByteString value) repeated string urls = 1 [json_name = "urls"];
string credential = 3 [json_name = "credential"];
repeated string urls = 1 [json_name = "urls"];
string username = 2 [json_name = "username"];
string credential = 3 [json_name = "credential"];
com.google.protobuf.ByteString
string credential = 3 [json_name = "credential"];
getUrls
(int index) repeated string urls = 1 [json_name = "urls"];
com.google.protobuf.ByteString
getUrlsBytes
(int index) repeated string urls = 1 [json_name = "urls"];
int
repeated string urls = 1 [json_name = "urls"];
repeated string urls = 1 [json_name = "urls"];
string username = 2 [json_name = "username"];
com.google.protobuf.ByteString
string username = 2 [json_name = "username"];
setCredential
(String value) string credential = 3 [json_name = "credential"];
setCredentialBytes
(com.google.protobuf.ByteString value) string credential = 3 [json_name = "credential"];
repeated string urls = 1 [json_name = "urls"];
setUsername
(String value) string username = 2 [json_name = "username"];
setUsernameBytes
(com.google.protobuf.ByteString value) string username = 2 [json_name = "username"];
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
-
getUrlsList
repeated string urls = 1 [json_name = "urls"];
- Specified by:
getUrlsList
in interfaceSignaling.ICEServerOrBuilder
- Returns:
- A list containing the urls.
-
getUrlsCount
public int getUrlsCount()repeated string urls = 1 [json_name = "urls"];
- Specified by:
getUrlsCount
in interfaceSignaling.ICEServerOrBuilder
- Returns:
- The count of urls.
-
getUrls
repeated string urls = 1 [json_name = "urls"];
- Specified by:
getUrls
in interfaceSignaling.ICEServerOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The urls at the given index.
-
getUrlsBytes
public com.google.protobuf.ByteString getUrlsBytes(int index) repeated string urls = 1 [json_name = "urls"];
- Specified by:
getUrlsBytes
in interfaceSignaling.ICEServerOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the urls at the given index.
-
setUrls
repeated string urls = 1 [json_name = "urls"];
- Parameters:
index
- The index to set the value at.value
- The urls to set.- Returns:
- This builder for chaining.
-
addUrls
repeated string urls = 1 [json_name = "urls"];
- Parameters:
value
- The urls to add.- Returns:
- This builder for chaining.
-
addAllUrls
repeated string urls = 1 [json_name = "urls"];
- Parameters:
values
- The urls to add.- Returns:
- This builder for chaining.
-
clearUrls
repeated string urls = 1 [json_name = "urls"];
- Returns:
- This builder for chaining.
-
addUrlsBytes
repeated string urls = 1 [json_name = "urls"];
- Parameters:
value
- The bytes of the urls to add.- Returns:
- This builder for chaining.
-
getUsername
string username = 2 [json_name = "username"];
- Specified by:
getUsername
in interfaceSignaling.ICEServerOrBuilder
- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()string username = 2 [json_name = "username"];
- Specified by:
getUsernameBytes
in interfaceSignaling.ICEServerOrBuilder
- Returns:
- The bytes for username.
-
setUsername
string username = 2 [json_name = "username"];
- Parameters:
value
- The username to set.- Returns:
- This builder for chaining.
-
clearUsername
string username = 2 [json_name = "username"];
- Returns:
- This builder for chaining.
-
setUsernameBytes
string username = 2 [json_name = "username"];
- Parameters:
value
- The bytes for username to set.- Returns:
- This builder for chaining.
-
getCredential
string credential = 3 [json_name = "credential"];
- Specified by:
getCredential
in interfaceSignaling.ICEServerOrBuilder
- Returns:
- The credential.
-
getCredentialBytes
public com.google.protobuf.ByteString getCredentialBytes()string credential = 3 [json_name = "credential"];
- Specified by:
getCredentialBytes
in interfaceSignaling.ICEServerOrBuilder
- Returns:
- The bytes for credential.
-
setCredential
string credential = 3 [json_name = "credential"];
- Parameters:
value
- The credential to set.- Returns:
- This builder for chaining.
-
clearCredential
string credential = 3 [json_name = "credential"];
- Returns:
- This builder for chaining.
-
setCredentialBytes
string credential = 3 [json_name = "credential"];
- Parameters:
value
- The bytes for credential to set.- Returns:
- This builder for chaining.
-