Class ListPredictionResultsResponse.Builder

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

public static final class ListPredictionResultsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListPredictionResultsResponse.Builder> implements ListPredictionResultsResponseOrBuilder
 Response for retrieving a list of PredictionResults
 
Protobuf type google.cloud.financialservices.v1.ListPredictionResultsResponse
  • 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<ListPredictionResultsResponse.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<ListPredictionResultsResponse.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<ListPredictionResultsResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public ListPredictionResultsResponse.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<ListPredictionResultsResponse.Builder>
      Throws:
      IOException
    • getPredictionResultsList

      public List<PredictionResult> getPredictionResultsList()
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
      Specified by:
      getPredictionResultsList in interface ListPredictionResultsResponseOrBuilder
    • getPredictionResultsCount

      public int getPredictionResultsCount()
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
      Specified by:
      getPredictionResultsCount in interface ListPredictionResultsResponseOrBuilder
    • getPredictionResults

      public PredictionResult getPredictionResults(int index)
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
      Specified by:
      getPredictionResults in interface ListPredictionResultsResponseOrBuilder
    • setPredictionResults

      public ListPredictionResultsResponse.Builder setPredictionResults(int index, PredictionResult value)
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
    • setPredictionResults

      public ListPredictionResultsResponse.Builder setPredictionResults(int index, PredictionResult.Builder builderForValue)
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
    • addPredictionResults

      public ListPredictionResultsResponse.Builder addPredictionResults(PredictionResult value)
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
    • addPredictionResults

      public ListPredictionResultsResponse.Builder addPredictionResults(int index, PredictionResult value)
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
    • addPredictionResults

      public ListPredictionResultsResponse.Builder addPredictionResults(PredictionResult.Builder builderForValue)
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
    • addPredictionResults

      public ListPredictionResultsResponse.Builder addPredictionResults(int index, PredictionResult.Builder builderForValue)
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
    • addAllPredictionResults

      public ListPredictionResultsResponse.Builder addAllPredictionResults(Iterable<? extends PredictionResult> values)
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
    • clearPredictionResults

      public ListPredictionResultsResponse.Builder clearPredictionResults()
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
    • removePredictionResults

      public ListPredictionResultsResponse.Builder removePredictionResults(int index)
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
    • getPredictionResultsBuilder

      public PredictionResult.Builder getPredictionResultsBuilder(int index)
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
    • getPredictionResultsOrBuilder

      public PredictionResultOrBuilder getPredictionResultsOrBuilder(int index)
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
      Specified by:
      getPredictionResultsOrBuilder in interface ListPredictionResultsResponseOrBuilder
    • getPredictionResultsOrBuilderList

      public List<? extends PredictionResultOrBuilder> getPredictionResultsOrBuilderList()
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
      Specified by:
      getPredictionResultsOrBuilderList in interface ListPredictionResultsResponseOrBuilder
    • addPredictionResultsBuilder

      public PredictionResult.Builder addPredictionResultsBuilder()
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
    • addPredictionResultsBuilder

      public PredictionResult.Builder addPredictionResultsBuilder(int index)
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
    • getPredictionResultsBuilderList

      public List<PredictionResult.Builder> getPredictionResultsBuilderList()
       List of PredictionResult resources
       
      repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1;
    • getNextPageToken

      public String getNextPageToken()
       This token should be passed to the next ListPredictionResultsRequest to
       retrieve the next page of PredictionResults (empty indicicates we are
       done).
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListPredictionResultsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       This token should be passed to the next ListPredictionResultsRequest to
       retrieve the next page of PredictionResults (empty indicicates we are
       done).
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListPredictionResultsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListPredictionResultsResponse.Builder setNextPageToken(String value)
       This token should be passed to the next ListPredictionResultsRequest to
       retrieve the next page of PredictionResults (empty indicicates we are
       done).
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListPredictionResultsResponse.Builder clearNextPageToken()
       This token should be passed to the next ListPredictionResultsRequest to
       retrieve the next page of PredictionResults (empty indicicates we are
       done).
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListPredictionResultsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       This token should be passed to the next ListPredictionResultsRequest to
       retrieve the next page of PredictionResults (empty indicicates we are
       done).
       
      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 ListPredictionResultsResponseOrBuilder
      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 ListPredictionResultsResponseOrBuilder
      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 ListPredictionResultsResponseOrBuilder
      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 ListPredictionResultsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

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

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