Class ListStreamsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListStreamsResponse.Builder>
com.google.cloud.visionai.v1.ListStreamsResponse.Builder
All Implemented Interfaces:
ListStreamsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListStreamsResponse

public static final class ListStreamsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListStreamsResponse.Builder> implements ListStreamsResponseOrBuilder
 Message for response to listing Streams.
 
Protobuf type google.cloud.visionai.v1.ListStreamsResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListStreamsResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListStreamsResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListStreamsResponse.Builder>
    • getDefaultInstanceForType

      public ListStreamsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ListStreamsResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListStreamsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListStreamsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListStreamsResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListStreamsResponse.Builder>
    • mergeFrom

      public ListStreamsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListStreamsResponse.Builder>
      Throws:
      IOException
    • getStreamsList

      public List<Stream> getStreamsList()
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
      Specified by:
      getStreamsList in interface ListStreamsResponseOrBuilder
    • getStreamsCount

      public int getStreamsCount()
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
      Specified by:
      getStreamsCount in interface ListStreamsResponseOrBuilder
    • getStreams

      public Stream getStreams(int index)
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
      Specified by:
      getStreams in interface ListStreamsResponseOrBuilder
    • setStreams

      public ListStreamsResponse.Builder setStreams(int index, Stream value)
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
    • setStreams

      public ListStreamsResponse.Builder setStreams(int index, Stream.Builder builderForValue)
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
    • addStreams

      public ListStreamsResponse.Builder addStreams(Stream value)
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
    • addStreams

      public ListStreamsResponse.Builder addStreams(int index, Stream value)
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
    • addStreams

      public ListStreamsResponse.Builder addStreams(Stream.Builder builderForValue)
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
    • addStreams

      public ListStreamsResponse.Builder addStreams(int index, Stream.Builder builderForValue)
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
    • addAllStreams

      public ListStreamsResponse.Builder addAllStreams(Iterable<? extends Stream> values)
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
    • clearStreams

      public ListStreamsResponse.Builder clearStreams()
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
    • removeStreams

      public ListStreamsResponse.Builder removeStreams(int index)
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
    • getStreamsBuilder

      public Stream.Builder getStreamsBuilder(int index)
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
    • getStreamsOrBuilder

      public StreamOrBuilder getStreamsOrBuilder(int index)
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
      Specified by:
      getStreamsOrBuilder in interface ListStreamsResponseOrBuilder
    • getStreamsOrBuilderList

      public List<? extends StreamOrBuilder> getStreamsOrBuilderList()
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
      Specified by:
      getStreamsOrBuilderList in interface ListStreamsResponseOrBuilder
    • addStreamsBuilder

      public Stream.Builder addStreamsBuilder()
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
    • addStreamsBuilder

      public Stream.Builder addStreamsBuilder(int index)
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
    • getStreamsBuilderList

      public List<Stream.Builder> getStreamsBuilderList()
       The list of Stream.
       
      repeated .google.cloud.visionai.v1.Stream streams = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListStreamsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListStreamsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListStreamsResponse.Builder setNextPageToken(String value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListStreamsResponse.Builder clearNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListStreamsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListStreamsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListStreamsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListStreamsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListStreamsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListStreamsResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListStreamsResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListStreamsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListStreamsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListStreamsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.