Class ListArtifactsResponse.Builder

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

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

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

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

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

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

      public ListArtifactsResponse.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<ListArtifactsResponse.Builder>
      Throws:
      IOException
    • getArtifactsList

      public List<Artifact> getArtifactsList()
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
      Specified by:
      getArtifactsList in interface ListArtifactsResponseOrBuilder
    • getArtifactsCount

      public int getArtifactsCount()
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
      Specified by:
      getArtifactsCount in interface ListArtifactsResponseOrBuilder
    • getArtifacts

      public Artifact getArtifacts(int index)
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
      Specified by:
      getArtifacts in interface ListArtifactsResponseOrBuilder
    • setArtifacts

      public ListArtifactsResponse.Builder setArtifacts(int index, Artifact value)
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
    • setArtifacts

      public ListArtifactsResponse.Builder setArtifacts(int index, Artifact.Builder builderForValue)
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
    • addArtifacts

      public ListArtifactsResponse.Builder addArtifacts(Artifact value)
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
    • addArtifacts

      public ListArtifactsResponse.Builder addArtifacts(int index, Artifact value)
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
    • addArtifacts

      public ListArtifactsResponse.Builder addArtifacts(Artifact.Builder builderForValue)
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
    • addArtifacts

      public ListArtifactsResponse.Builder addArtifacts(int index, Artifact.Builder builderForValue)
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
    • addAllArtifacts

      public ListArtifactsResponse.Builder addAllArtifacts(Iterable<? extends Artifact> values)
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
    • clearArtifacts

      public ListArtifactsResponse.Builder clearArtifacts()
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
    • removeArtifacts

      public ListArtifactsResponse.Builder removeArtifacts(int index)
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
    • getArtifactsBuilder

      public Artifact.Builder getArtifactsBuilder(int index)
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
    • getArtifactsOrBuilder

      public ArtifactOrBuilder getArtifactsOrBuilder(int index)
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
      Specified by:
      getArtifactsOrBuilder in interface ListArtifactsResponseOrBuilder
    • getArtifactsOrBuilderList

      public List<? extends ArtifactOrBuilder> getArtifactsOrBuilderList()
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
      Specified by:
      getArtifactsOrBuilderList in interface ListArtifactsResponseOrBuilder
    • addArtifactsBuilder

      public Artifact.Builder addArtifactsBuilder()
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
    • addArtifactsBuilder

      public Artifact.Builder addArtifactsBuilder(int index)
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
    • getArtifactsBuilderList

      public List<Artifact.Builder> getArtifactsBuilderList()
       The Artifacts retrieved from the MetadataStore.
       
      repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as
       [ListArtifactsRequest.page_token][google.cloud.aiplatform.v1.ListArtifactsRequest.page_token]
       to retrieve the next page.
       If this field is not populated, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListArtifactsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as
       [ListArtifactsRequest.page_token][google.cloud.aiplatform.v1.ListArtifactsRequest.page_token]
       to retrieve the next page.
       If this field is not populated, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListArtifactsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListArtifactsResponse.Builder setNextPageToken(String value)
       A token, which can be sent as
       [ListArtifactsRequest.page_token][google.cloud.aiplatform.v1.ListArtifactsRequest.page_token]
       to retrieve the next page.
       If this field is not populated, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListArtifactsResponse.Builder clearNextPageToken()
       A token, which can be sent as
       [ListArtifactsRequest.page_token][google.cloud.aiplatform.v1.ListArtifactsRequest.page_token]
       to retrieve the next page.
       If this field is not populated, there are no subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListArtifactsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as
       [ListArtifactsRequest.page_token][google.cloud.aiplatform.v1.ListArtifactsRequest.page_token]
       to retrieve the next page.
       If this field is not populated, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.