Class ImportProductSetsResponse.Builder

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

public static final class ImportProductSetsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportProductSetsResponse.Builder> implements ImportProductSetsResponseOrBuilder
 Response message for the `ImportProductSets` method.

 This message is returned by the
 [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]
 method in the returned
 [google.longrunning.Operation.response][google.longrunning.Operation.response]
 field.
 
Protobuf type google.cloud.vision.v1.ImportProductSetsResponse
  • 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<ImportProductSetsResponse.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<ImportProductSetsResponse.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<ImportProductSetsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ImportProductSetsResponse.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<ImportProductSetsResponse.Builder>
      Throws:
      IOException
    • getReferenceImagesList

      public List<ReferenceImage> getReferenceImagesList()
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
      Specified by:
      getReferenceImagesList in interface ImportProductSetsResponseOrBuilder
    • getReferenceImagesCount

      public int getReferenceImagesCount()
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
      Specified by:
      getReferenceImagesCount in interface ImportProductSetsResponseOrBuilder
    • getReferenceImages

      public ReferenceImage getReferenceImages(int index)
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
      Specified by:
      getReferenceImages in interface ImportProductSetsResponseOrBuilder
    • setReferenceImages

      public ImportProductSetsResponse.Builder setReferenceImages(int index, ReferenceImage value)
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
    • setReferenceImages

      public ImportProductSetsResponse.Builder setReferenceImages(int index, ReferenceImage.Builder builderForValue)
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
    • addReferenceImages

      public ImportProductSetsResponse.Builder addReferenceImages(ReferenceImage value)
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
    • addReferenceImages

      public ImportProductSetsResponse.Builder addReferenceImages(int index, ReferenceImage value)
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
    • addReferenceImages

      public ImportProductSetsResponse.Builder addReferenceImages(ReferenceImage.Builder builderForValue)
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
    • addReferenceImages

      public ImportProductSetsResponse.Builder addReferenceImages(int index, ReferenceImage.Builder builderForValue)
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
    • addAllReferenceImages

      public ImportProductSetsResponse.Builder addAllReferenceImages(Iterable<? extends ReferenceImage> values)
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
    • clearReferenceImages

      public ImportProductSetsResponse.Builder clearReferenceImages()
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
    • removeReferenceImages

      public ImportProductSetsResponse.Builder removeReferenceImages(int index)
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
    • getReferenceImagesBuilder

      public ReferenceImage.Builder getReferenceImagesBuilder(int index)
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
    • getReferenceImagesOrBuilder

      public ReferenceImageOrBuilder getReferenceImagesOrBuilder(int index)
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
      Specified by:
      getReferenceImagesOrBuilder in interface ImportProductSetsResponseOrBuilder
    • getReferenceImagesOrBuilderList

      public List<? extends ReferenceImageOrBuilder> getReferenceImagesOrBuilderList()
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
      Specified by:
      getReferenceImagesOrBuilderList in interface ImportProductSetsResponseOrBuilder
    • addReferenceImagesBuilder

      public ReferenceImage.Builder addReferenceImagesBuilder()
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
    • addReferenceImagesBuilder

      public ReferenceImage.Builder addReferenceImagesBuilder(int index)
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
    • getReferenceImagesBuilderList

      public List<ReferenceImage.Builder> getReferenceImagesBuilderList()
       The list of reference_images that are imported successfully.
       
      repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
    • getStatusesList

      public List<Status> getStatusesList()
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
      Specified by:
      getStatusesList in interface ImportProductSetsResponseOrBuilder
    • getStatusesCount

      public int getStatusesCount()
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
      Specified by:
      getStatusesCount in interface ImportProductSetsResponseOrBuilder
    • getStatuses

      public Status getStatuses(int index)
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
      Specified by:
      getStatuses in interface ImportProductSetsResponseOrBuilder
    • setStatuses

      public ImportProductSetsResponse.Builder setStatuses(int index, Status value)
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
    • setStatuses

      public ImportProductSetsResponse.Builder setStatuses(int index, Status.Builder builderForValue)
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
    • addStatuses

      public ImportProductSetsResponse.Builder addStatuses(Status value)
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
    • addStatuses

      public ImportProductSetsResponse.Builder addStatuses(int index, Status value)
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
    • addStatuses

      public ImportProductSetsResponse.Builder addStatuses(Status.Builder builderForValue)
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
    • addStatuses

      public ImportProductSetsResponse.Builder addStatuses(int index, Status.Builder builderForValue)
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
    • addAllStatuses

      public ImportProductSetsResponse.Builder addAllStatuses(Iterable<? extends Status> values)
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
    • clearStatuses

      public ImportProductSetsResponse.Builder clearStatuses()
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
    • removeStatuses

      public ImportProductSetsResponse.Builder removeStatuses(int index)
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
    • getStatusesBuilder

      public Status.Builder getStatusesBuilder(int index)
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
    • getStatusesOrBuilder

      public StatusOrBuilder getStatusesOrBuilder(int index)
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
      Specified by:
      getStatusesOrBuilder in interface ImportProductSetsResponseOrBuilder
    • getStatusesOrBuilderList

      public List<? extends StatusOrBuilder> getStatusesOrBuilderList()
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
      Specified by:
      getStatusesOrBuilderList in interface ImportProductSetsResponseOrBuilder
    • addStatusesBuilder

      public Status.Builder addStatusesBuilder()
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
    • addStatusesBuilder

      public Status.Builder addStatusesBuilder(int index)
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;
    • getStatusesBuilderList

      public List<Status.Builder> getStatusesBuilderList()
       The rpc status for each ImportProductSet request, including both successes
       and errors.
      
       The number of statuses here matches the number of lines in the csv file,
       and statuses[i] stores the success or failure status of processing the i-th
       line of the csv, starting from line 0.
       
      repeated .google.rpc.Status statuses = 2;