Class ImportAssetsMetadata.Builder

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

public static final class ImportAssetsMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportAssetsMetadata.Builder> implements ImportAssetsMetadataOrBuilder
 The metadata message for ImportAssets LRO.
 
Protobuf type google.cloud.visionai.v1.ImportAssetsMetadata
  • 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<ImportAssetsMetadata.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<ImportAssetsMetadata.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<ImportAssetsMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ImportAssetsMetadata.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<ImportAssetsMetadata.Builder>
      Throws:
      IOException
    • hasMetadata

      public boolean hasMetadata()
       The metadata of the operation.
       
      .google.cloud.visionai.v1.OperationMetadata metadata = 1;
      Specified by:
      hasMetadata in interface ImportAssetsMetadataOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public OperationMetadata getMetadata()
       The metadata of the operation.
       
      .google.cloud.visionai.v1.OperationMetadata metadata = 1;
      Specified by:
      getMetadata in interface ImportAssetsMetadataOrBuilder
      Returns:
      The metadata.
    • setMetadata

      public ImportAssetsMetadata.Builder setMetadata(OperationMetadata value)
       The metadata of the operation.
       
      .google.cloud.visionai.v1.OperationMetadata metadata = 1;
    • setMetadata

      public ImportAssetsMetadata.Builder setMetadata(OperationMetadata.Builder builderForValue)
       The metadata of the operation.
       
      .google.cloud.visionai.v1.OperationMetadata metadata = 1;
    • mergeMetadata

      public ImportAssetsMetadata.Builder mergeMetadata(OperationMetadata value)
       The metadata of the operation.
       
      .google.cloud.visionai.v1.OperationMetadata metadata = 1;
    • clearMetadata

      public ImportAssetsMetadata.Builder clearMetadata()
       The metadata of the operation.
       
      .google.cloud.visionai.v1.OperationMetadata metadata = 1;
    • getMetadataBuilder

      public OperationMetadata.Builder getMetadataBuilder()
       The metadata of the operation.
       
      .google.cloud.visionai.v1.OperationMetadata metadata = 1;
    • getMetadataOrBuilder

      public OperationMetadataOrBuilder getMetadataOrBuilder()
       The metadata of the operation.
       
      .google.cloud.visionai.v1.OperationMetadata metadata = 1;
      Specified by:
      getMetadataOrBuilder in interface ImportAssetsMetadataOrBuilder
    • hasStatus

      public boolean hasStatus()
       The importing status including partial failures, if the implementation can
       provide such information during the progress of the ImportAssets.
       
      .google.cloud.visionai.v1.BatchOperationStatus status = 2;
      Specified by:
      hasStatus in interface ImportAssetsMetadataOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public BatchOperationStatus getStatus()
       The importing status including partial failures, if the implementation can
       provide such information during the progress of the ImportAssets.
       
      .google.cloud.visionai.v1.BatchOperationStatus status = 2;
      Specified by:
      getStatus in interface ImportAssetsMetadataOrBuilder
      Returns:
      The status.
    • setStatus

       The importing status including partial failures, if the implementation can
       provide such information during the progress of the ImportAssets.
       
      .google.cloud.visionai.v1.BatchOperationStatus status = 2;
    • setStatus

      public ImportAssetsMetadata.Builder setStatus(BatchOperationStatus.Builder builderForValue)
       The importing status including partial failures, if the implementation can
       provide such information during the progress of the ImportAssets.
       
      .google.cloud.visionai.v1.BatchOperationStatus status = 2;
    • mergeStatus

       The importing status including partial failures, if the implementation can
       provide such information during the progress of the ImportAssets.
       
      .google.cloud.visionai.v1.BatchOperationStatus status = 2;
    • clearStatus

      public ImportAssetsMetadata.Builder clearStatus()
       The importing status including partial failures, if the implementation can
       provide such information during the progress of the ImportAssets.
       
      .google.cloud.visionai.v1.BatchOperationStatus status = 2;
    • getStatusBuilder

      public BatchOperationStatus.Builder getStatusBuilder()
       The importing status including partial failures, if the implementation can
       provide such information during the progress of the ImportAssets.
       
      .google.cloud.visionai.v1.BatchOperationStatus status = 2;
    • getStatusOrBuilder

      public BatchOperationStatusOrBuilder getStatusOrBuilder()
       The importing status including partial failures, if the implementation can
       provide such information during the progress of the ImportAssets.
       
      .google.cloud.visionai.v1.BatchOperationStatus status = 2;
      Specified by:
      getStatusOrBuilder in interface ImportAssetsMetadataOrBuilder