Class Grpc.Strings.Builder

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

public static final class Grpc.Strings.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Grpc.Strings,Grpc.Strings.Builder> implements Grpc.StringsOrBuilder
 Strings are a series of values.
 
Protobuf type proto.rpc.webrtc.v1.Strings
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    repeated string values = 1 [json_name = "values"];
    repeated string values = 1 [json_name = "values"];
    addValuesBytes(com.google.protobuf.ByteString value)
    repeated string values = 1 [json_name = "values"];
    repeated string values = 1 [json_name = "values"];
    getValues(int index)
    repeated string values = 1 [json_name = "values"];
    com.google.protobuf.ByteString
    getValuesBytes(int index)
    repeated string values = 1 [json_name = "values"];
    int
    repeated string values = 1 [json_name = "values"];
    repeated string values = 1 [json_name = "values"];
    setValues(int index, String value)
    repeated string values = 1 [json_name = "values"];

    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

    • getValuesList

      public List<String> getValuesList()
      repeated string values = 1 [json_name = "values"];
      Specified by:
      getValuesList in interface Grpc.StringsOrBuilder
      Returns:
      A list containing the values.
    • getValuesCount

      public int getValuesCount()
      repeated string values = 1 [json_name = "values"];
      Specified by:
      getValuesCount in interface Grpc.StringsOrBuilder
      Returns:
      The count of values.
    • getValues

      public String getValues(int index)
      repeated string values = 1 [json_name = "values"];
      Specified by:
      getValues in interface Grpc.StringsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The values at the given index.
    • getValuesBytes

      public com.google.protobuf.ByteString getValuesBytes(int index)
      repeated string values = 1 [json_name = "values"];
      Specified by:
      getValuesBytes in interface Grpc.StringsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the values at the given index.
    • setValues

      public Grpc.Strings.Builder setValues(int index, String value)
      repeated string values = 1 [json_name = "values"];
      Parameters:
      index - The index to set the value at.
      value - The values to set.
      Returns:
      This builder for chaining.
    • addValues

      public Grpc.Strings.Builder addValues(String value)
      repeated string values = 1 [json_name = "values"];
      Parameters:
      value - The values to add.
      Returns:
      This builder for chaining.
    • addAllValues

      public Grpc.Strings.Builder addAllValues(Iterable<String> values)
      repeated string values = 1 [json_name = "values"];
      Parameters:
      values - The values to add.
      Returns:
      This builder for chaining.
    • clearValues

      public Grpc.Strings.Builder clearValues()
      repeated string values = 1 [json_name = "values"];
      Returns:
      This builder for chaining.
    • addValuesBytes

      public Grpc.Strings.Builder addValuesBytes(com.google.protobuf.ByteString value)
      repeated string values = 1 [json_name = "values"];
      Parameters:
      value - The bytes of the values to add.
      Returns:
      This builder for chaining.