Class FetchExamplesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FetchExamplesResponse.Builder>
com.google.cloud.aiplatform.v1beta1.FetchExamplesResponse.Builder
All Implemented Interfaces:
FetchExamplesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FetchExamplesResponse

public static final class FetchExamplesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<FetchExamplesResponse.Builder> implements FetchExamplesResponseOrBuilder
 Response message for
 [ExampleStoreService.FetchExamples][google.cloud.aiplatform.v1beta1.ExampleStoreService.FetchExamples].
 
Protobuf type google.cloud.aiplatform.v1beta1.FetchExamplesResponse
  • 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<FetchExamplesResponse.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<FetchExamplesResponse.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<FetchExamplesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public FetchExamplesResponse.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<FetchExamplesResponse.Builder>
      Throws:
      IOException
    • getExamplesList

      public List<Example> getExamplesList()
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
      Specified by:
      getExamplesList in interface FetchExamplesResponseOrBuilder
    • getExamplesCount

      public int getExamplesCount()
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
      Specified by:
      getExamplesCount in interface FetchExamplesResponseOrBuilder
    • getExamples

      public Example getExamples(int index)
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
      Specified by:
      getExamples in interface FetchExamplesResponseOrBuilder
    • setExamples

      public FetchExamplesResponse.Builder setExamples(int index, Example value)
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
    • setExamples

      public FetchExamplesResponse.Builder setExamples(int index, Example.Builder builderForValue)
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
    • addExamples

      public FetchExamplesResponse.Builder addExamples(Example value)
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
    • addExamples

      public FetchExamplesResponse.Builder addExamples(int index, Example value)
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
    • addExamples

      public FetchExamplesResponse.Builder addExamples(Example.Builder builderForValue)
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
    • addExamples

      public FetchExamplesResponse.Builder addExamples(int index, Example.Builder builderForValue)
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
    • addAllExamples

      public FetchExamplesResponse.Builder addAllExamples(Iterable<? extends Example> values)
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
    • clearExamples

      public FetchExamplesResponse.Builder clearExamples()
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
    • removeExamples

      public FetchExamplesResponse.Builder removeExamples(int index)
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
    • getExamplesBuilder

      public Example.Builder getExamplesBuilder(int index)
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
    • getExamplesOrBuilder

      public ExampleOrBuilder getExamplesOrBuilder(int index)
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
      Specified by:
      getExamplesOrBuilder in interface FetchExamplesResponseOrBuilder
    • getExamplesOrBuilderList

      public List<? extends ExampleOrBuilder> getExamplesOrBuilderList()
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
      Specified by:
      getExamplesOrBuilderList in interface FetchExamplesResponseOrBuilder
    • addExamplesBuilder

      public Example.Builder addExamplesBuilder()
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
    • addExamplesBuilder

      public Example.Builder addExamplesBuilder(int index)
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
    • getExamplesBuilderList

      public List<Example.Builder> getExamplesBuilderList()
       The examples in the Example Store that satisfy the metadata filters.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as [FetchExamplesRequest.page_token][] to
       retrieve the next page. Absence of this field indicates there are no
       subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface FetchExamplesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as [FetchExamplesRequest.page_token][] to
       retrieve the next page. Absence of this field indicates there are no
       subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface FetchExamplesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public FetchExamplesResponse.Builder setNextPageToken(String value)
       A token, which can be sent as [FetchExamplesRequest.page_token][] to
       retrieve the next page. Absence of this field indicates there are no
       subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public FetchExamplesResponse.Builder clearNextPageToken()
       A token, which can be sent as [FetchExamplesRequest.page_token][] to
       retrieve the next page. Absence of this field indicates there are no
       subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public FetchExamplesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as [FetchExamplesRequest.page_token][] to
       retrieve the next page. Absence of this field indicates there are no
       subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.