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
  • Method Details

    • getUrlsList

      public List<String> getUrlsList()
      repeated string urls = 1 [json_name = "urls"];
      Specified by:
      getUrlsList in interface Signaling.ICEServerOrBuilder
      Returns:
      A list containing the urls.
    • getUrlsCount

      public int getUrlsCount()
      repeated string urls = 1 [json_name = "urls"];
      Specified by:
      getUrlsCount in interface Signaling.ICEServerOrBuilder
      Returns:
      The count of urls.
    • getUrls

      public String getUrls(int index)
      repeated string urls = 1 [json_name = "urls"];
      Specified by:
      getUrls in interface Signaling.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 interface Signaling.ICEServerOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the urls at the given index.
    • setUrls

      public Signaling.ICEServer.Builder setUrls(int index, String value)
      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

      public Signaling.ICEServer.Builder addUrls(String value)
      repeated string urls = 1 [json_name = "urls"];
      Parameters:
      value - The urls to add.
      Returns:
      This builder for chaining.
    • addAllUrls

      public Signaling.ICEServer.Builder addAllUrls(Iterable<String> values)
      repeated string urls = 1 [json_name = "urls"];
      Parameters:
      values - The urls to add.
      Returns:
      This builder for chaining.
    • clearUrls

      public Signaling.ICEServer.Builder clearUrls()
      repeated string urls = 1 [json_name = "urls"];
      Returns:
      This builder for chaining.
    • addUrlsBytes

      public Signaling.ICEServer.Builder addUrlsBytes(com.google.protobuf.ByteString value)
      repeated string urls = 1 [json_name = "urls"];
      Parameters:
      value - The bytes of the urls to add.
      Returns:
      This builder for chaining.
    • getUsername

      public String getUsername()
      string username = 2 [json_name = "username"];
      Specified by:
      getUsername in interface Signaling.ICEServerOrBuilder
      Returns:
      The username.
    • getUsernameBytes

      public com.google.protobuf.ByteString getUsernameBytes()
      string username = 2 [json_name = "username"];
      Specified by:
      getUsernameBytes in interface Signaling.ICEServerOrBuilder
      Returns:
      The bytes for username.
    • setUsername

      public Signaling.ICEServer.Builder setUsername(String value)
      string username = 2 [json_name = "username"];
      Parameters:
      value - The username to set.
      Returns:
      This builder for chaining.
    • clearUsername

      public Signaling.ICEServer.Builder clearUsername()
      string username = 2 [json_name = "username"];
      Returns:
      This builder for chaining.
    • setUsernameBytes

      public Signaling.ICEServer.Builder setUsernameBytes(com.google.protobuf.ByteString value)
      string username = 2 [json_name = "username"];
      Parameters:
      value - The bytes for username to set.
      Returns:
      This builder for chaining.
    • getCredential

      public String getCredential()
      string credential = 3 [json_name = "credential"];
      Specified by:
      getCredential in interface Signaling.ICEServerOrBuilder
      Returns:
      The credential.
    • getCredentialBytes

      public com.google.protobuf.ByteString getCredentialBytes()
      string credential = 3 [json_name = "credential"];
      Specified by:
      getCredentialBytes in interface Signaling.ICEServerOrBuilder
      Returns:
      The bytes for credential.
    • setCredential

      public Signaling.ICEServer.Builder setCredential(String value)
      string credential = 3 [json_name = "credential"];
      Parameters:
      value - The credential to set.
      Returns:
      This builder for chaining.
    • clearCredential

      public Signaling.ICEServer.Builder clearCredential()
      string credential = 3 [json_name = "credential"];
      Returns:
      This builder for chaining.
    • setCredentialBytes

      public Signaling.ICEServer.Builder setCredentialBytes(com.google.protobuf.ByteString value)
      string credential = 3 [json_name = "credential"];
      Parameters:
      value - The bytes for credential to set.
      Returns:
      This builder for chaining.