Class 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.GeneratedMessageV3.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.v1p3beta1.ImportProductSetsResponse
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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
      • setRepeatedField

        public ImportProductSetsResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductSetsResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • getReferenceImagesCount

        public int getReferenceImagesCount()
         The list of reference_images that are imported successfully.
         
        repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
        Specified by:
        getReferenceImagesCount 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.v1p3beta1.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.v1p3beta1.ReferenceImage reference_images = 1;
      • addReferenceImages

        public ImportProductSetsResponse.Builder addReferenceImages​(ReferenceImage value)
         The list of reference_images that are imported successfully.
         
        repeated .google.cloud.vision.v1p3beta1.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.v1p3beta1.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.v1p3beta1.ReferenceImage reference_images = 1;
      • clearReferenceImages

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

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

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

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

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

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

        public List<com.google.rpc.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 com.google.rpc.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,
                                                             com.google.rpc.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,
                                                             com.google.rpc.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​(com.google.rpc.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,
                                                             com.google.rpc.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​(com.google.rpc.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,
                                                             com.google.rpc.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 com.google.rpc.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 com.google.rpc.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 com.google.rpc.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 com.google.rpc.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 com.google.rpc.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 com.google.rpc.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<com.google.rpc.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;
      • setUnknownFields

        public final ImportProductSetsResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductSetsResponse.Builder>
      • mergeUnknownFields

        public final ImportProductSetsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductSetsResponse.Builder>