Class ListAnnotationsResponse.Builder

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

public static final class ListAnnotationsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListAnnotationsResponse.Builder> implements ListAnnotationsResponseOrBuilder
 Response message for
 [DatasetService.ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations].
 
Protobuf type google.cloud.aiplatform.v1.ListAnnotationsResponse
  • 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<ListAnnotationsResponse.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<ListAnnotationsResponse.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<ListAnnotationsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListAnnotationsResponse.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<ListAnnotationsResponse.Builder>
      Throws:
      IOException
    • getAnnotationsList

      public List<Annotation> getAnnotationsList()
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
      Specified by:
      getAnnotationsList in interface ListAnnotationsResponseOrBuilder
    • getAnnotationsCount

      public int getAnnotationsCount()
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
      Specified by:
      getAnnotationsCount in interface ListAnnotationsResponseOrBuilder
    • getAnnotations

      public Annotation getAnnotations(int index)
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
      Specified by:
      getAnnotations in interface ListAnnotationsResponseOrBuilder
    • setAnnotations

      public ListAnnotationsResponse.Builder setAnnotations(int index, Annotation value)
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
    • setAnnotations

      public ListAnnotationsResponse.Builder setAnnotations(int index, Annotation.Builder builderForValue)
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
    • addAnnotations

      public ListAnnotationsResponse.Builder addAnnotations(Annotation value)
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
    • addAnnotations

      public ListAnnotationsResponse.Builder addAnnotations(int index, Annotation value)
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
    • addAnnotations

      public ListAnnotationsResponse.Builder addAnnotations(Annotation.Builder builderForValue)
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
    • addAnnotations

      public ListAnnotationsResponse.Builder addAnnotations(int index, Annotation.Builder builderForValue)
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
    • addAllAnnotations

      public ListAnnotationsResponse.Builder addAllAnnotations(Iterable<? extends Annotation> values)
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
    • clearAnnotations

      public ListAnnotationsResponse.Builder clearAnnotations()
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
    • removeAnnotations

      public ListAnnotationsResponse.Builder removeAnnotations(int index)
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
    • getAnnotationsBuilder

      public Annotation.Builder getAnnotationsBuilder(int index)
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
    • getAnnotationsOrBuilder

      public AnnotationOrBuilder getAnnotationsOrBuilder(int index)
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
      Specified by:
      getAnnotationsOrBuilder in interface ListAnnotationsResponseOrBuilder
    • getAnnotationsOrBuilderList

      public List<? extends AnnotationOrBuilder> getAnnotationsOrBuilderList()
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
      Specified by:
      getAnnotationsOrBuilderList in interface ListAnnotationsResponseOrBuilder
    • addAnnotationsBuilder

      public Annotation.Builder addAnnotationsBuilder()
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
    • addAnnotationsBuilder

      public Annotation.Builder addAnnotationsBuilder(int index)
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
    • getAnnotationsBuilderList

      public List<Annotation.Builder> getAnnotationsBuilderList()
       A list of Annotations that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;
    • getNextPageToken

      public String getNextPageToken()
       The standard List next-page token.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListAnnotationsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       The standard List next-page token.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListAnnotationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListAnnotationsResponse.Builder setNextPageToken(String value)
       The standard List next-page token.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListAnnotationsResponse.Builder clearNextPageToken()
       The standard List next-page token.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListAnnotationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       The standard List next-page token.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.