Class ListAnalysesResponse.Builder

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

public static final class ListAnalysesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListAnalysesResponse.Builder> implements ListAnalysesResponseOrBuilder
 Message for response to listing Analyses
 
Protobuf type google.cloud.visionai.v1.ListAnalysesResponse
  • 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<ListAnalysesResponse.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<ListAnalysesResponse.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<ListAnalysesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListAnalysesResponse.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<ListAnalysesResponse.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<ListAnalysesResponse.Builder>
    • mergeFrom

      public ListAnalysesResponse.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<ListAnalysesResponse.Builder>
      Throws:
      IOException
    • getAnalysesList

      public List<Analysis> getAnalysesList()
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
      Specified by:
      getAnalysesList in interface ListAnalysesResponseOrBuilder
    • getAnalysesCount

      public int getAnalysesCount()
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
      Specified by:
      getAnalysesCount in interface ListAnalysesResponseOrBuilder
    • getAnalyses

      public Analysis getAnalyses(int index)
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
      Specified by:
      getAnalyses in interface ListAnalysesResponseOrBuilder
    • setAnalyses

      public ListAnalysesResponse.Builder setAnalyses(int index, Analysis value)
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
    • setAnalyses

      public ListAnalysesResponse.Builder setAnalyses(int index, Analysis.Builder builderForValue)
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
    • addAnalyses

      public ListAnalysesResponse.Builder addAnalyses(Analysis value)
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
    • addAnalyses

      public ListAnalysesResponse.Builder addAnalyses(int index, Analysis value)
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
    • addAnalyses

      public ListAnalysesResponse.Builder addAnalyses(Analysis.Builder builderForValue)
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
    • addAnalyses

      public ListAnalysesResponse.Builder addAnalyses(int index, Analysis.Builder builderForValue)
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
    • addAllAnalyses

      public ListAnalysesResponse.Builder addAllAnalyses(Iterable<? extends Analysis> values)
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
    • clearAnalyses

      public ListAnalysesResponse.Builder clearAnalyses()
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
    • removeAnalyses

      public ListAnalysesResponse.Builder removeAnalyses(int index)
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
    • getAnalysesBuilder

      public Analysis.Builder getAnalysesBuilder(int index)
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
    • getAnalysesOrBuilder

      public AnalysisOrBuilder getAnalysesOrBuilder(int index)
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
      Specified by:
      getAnalysesOrBuilder in interface ListAnalysesResponseOrBuilder
    • getAnalysesOrBuilderList

      public List<? extends AnalysisOrBuilder> getAnalysesOrBuilderList()
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
      Specified by:
      getAnalysesOrBuilderList in interface ListAnalysesResponseOrBuilder
    • addAnalysesBuilder

      public Analysis.Builder addAnalysesBuilder()
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
    • addAnalysesBuilder

      public Analysis.Builder addAnalysesBuilder(int index)
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 1;
    • getAnalysesBuilderList

      public List<Analysis.Builder> getAnalysesBuilderList()
       The list of Analysis
       
      repeated .google.cloud.visionai.v1.Analysis analyses = 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 ListAnalysesResponseOrBuilder
      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 ListAnalysesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListAnalysesResponse.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 ListAnalysesResponse.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 ListAnalysesResponse.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 ListAnalysesResponseOrBuilder
      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 ListAnalysesResponseOrBuilder
      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 ListAnalysesResponseOrBuilder
      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 ListAnalysesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListAnalysesResponse.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 ListAnalysesResponse.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 ListAnalysesResponse.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 ListAnalysesResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListAnalysesResponse.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.