Class Stream.ListStreamsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Stream.ListStreamsResponse,Stream.ListStreamsResponse.Builder>
proto.stream.v1.Stream.ListStreamsResponse.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, Stream.ListStreamsResponseOrBuilder
Enclosing class:
Stream.ListStreamsResponse

public static final class Stream.ListStreamsResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Stream.ListStreamsResponse,Stream.ListStreamsResponse.Builder> implements Stream.ListStreamsResponseOrBuilder
 A ListStreamsResponse details streams registered.
 
Protobuf type proto.stream.v1.ListStreamsResponse
  • Method Details

    • getNamesList

      public List<String> getNamesList()
      repeated string names = 1 [json_name = "names"];
      Specified by:
      getNamesList in interface Stream.ListStreamsResponseOrBuilder
      Returns:
      A list containing the names.
    • getNamesCount

      public int getNamesCount()
      repeated string names = 1 [json_name = "names"];
      Specified by:
      getNamesCount in interface Stream.ListStreamsResponseOrBuilder
      Returns:
      The count of names.
    • getNames

      public String getNames(int index)
      repeated string names = 1 [json_name = "names"];
      Specified by:
      getNames in interface Stream.ListStreamsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The names at the given index.
    • getNamesBytes

      public com.google.protobuf.ByteString getNamesBytes(int index)
      repeated string names = 1 [json_name = "names"];
      Specified by:
      getNamesBytes in interface Stream.ListStreamsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the names at the given index.
    • setNames

      public Stream.ListStreamsResponse.Builder setNames(int index, String value)
      repeated string names = 1 [json_name = "names"];
      Parameters:
      index - The index to set the value at.
      value - The names to set.
      Returns:
      This builder for chaining.
    • addNames

      public Stream.ListStreamsResponse.Builder addNames(String value)
      repeated string names = 1 [json_name = "names"];
      Parameters:
      value - The names to add.
      Returns:
      This builder for chaining.
    • addAllNames

      public Stream.ListStreamsResponse.Builder addAllNames(Iterable<String> values)
      repeated string names = 1 [json_name = "names"];
      Parameters:
      values - The names to add.
      Returns:
      This builder for chaining.
    • clearNames

      repeated string names = 1 [json_name = "names"];
      Returns:
      This builder for chaining.
    • addNamesBytes

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