Class BatchOperationStatus.Builder

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

public static final class BatchOperationStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchOperationStatus.Builder> implements BatchOperationStatusOrBuilder
 The batch operation status.
 
Protobuf type google.cloud.visionai.v1.BatchOperationStatus
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The count of assets failed to ingested; it might be due to the annotation ingestion error.
    The count of assets (together with their annotations if any) successfully ingested.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    int
    The count of assets failed to ingested; it might be due to the annotation ingestion error.
    int
    The count of assets (together with their annotations if any) successfully ingested.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setFailureCount(int value)
    The count of assets failed to ingested; it might be due to the annotation ingestion error.
    setSuccessCount(int value)
    The count of assets (together with their annotations if any) successfully ingested.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<BatchOperationStatus.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<BatchOperationStatus.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<BatchOperationStatus.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public BatchOperationStatus.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<BatchOperationStatus.Builder>
      Throws:
      IOException
    • getSuccessCount

      public int getSuccessCount()
       The count of assets (together with their annotations if any) successfully
       ingested.
       
      int32 success_count = 1;
      Specified by:
      getSuccessCount in interface BatchOperationStatusOrBuilder
      Returns:
      The successCount.
    • setSuccessCount

      public BatchOperationStatus.Builder setSuccessCount(int value)
       The count of assets (together with their annotations if any) successfully
       ingested.
       
      int32 success_count = 1;
      Parameters:
      value - The successCount to set.
      Returns:
      This builder for chaining.
    • clearSuccessCount

      public BatchOperationStatus.Builder clearSuccessCount()
       The count of assets (together with their annotations if any) successfully
       ingested.
       
      int32 success_count = 1;
      Returns:
      This builder for chaining.
    • getFailureCount

      public int getFailureCount()
       The count of assets failed to ingested; it might be due to the annotation
       ingestion error.
       
      int32 failure_count = 2;
      Specified by:
      getFailureCount in interface BatchOperationStatusOrBuilder
      Returns:
      The failureCount.
    • setFailureCount

      public BatchOperationStatus.Builder setFailureCount(int value)
       The count of assets failed to ingested; it might be due to the annotation
       ingestion error.
       
      int32 failure_count = 2;
      Parameters:
      value - The failureCount to set.
      Returns:
      This builder for chaining.
    • clearFailureCount

      public BatchOperationStatus.Builder clearFailureCount()
       The count of assets failed to ingested; it might be due to the annotation
       ingestion error.
       
      int32 failure_count = 2;
      Returns:
      This builder for chaining.