Class IndexAssetMetadata.Builder

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

public static final class IndexAssetMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<IndexAssetMetadata.Builder> implements IndexAssetMetadataOrBuilder
 Metadata for IndexAsset.
 
Protobuf type google.cloud.visionai.v1.IndexAssetMetadata
  • 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<IndexAssetMetadata.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<IndexAssetMetadata.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<IndexAssetMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public IndexAssetMetadata.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<IndexAssetMetadata.Builder>
      Throws:
      IOException
    • hasStatus

      public boolean hasStatus()
       The status of indexing this asset.
       
      .google.cloud.visionai.v1.IndexingStatus status = 4;
      Specified by:
      hasStatus in interface IndexAssetMetadataOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public IndexingStatus getStatus()
       The status of indexing this asset.
       
      .google.cloud.visionai.v1.IndexingStatus status = 4;
      Specified by:
      getStatus in interface IndexAssetMetadataOrBuilder
      Returns:
      The status.
    • setStatus

      public IndexAssetMetadata.Builder setStatus(IndexingStatus value)
       The status of indexing this asset.
       
      .google.cloud.visionai.v1.IndexingStatus status = 4;
    • setStatus

      public IndexAssetMetadata.Builder setStatus(IndexingStatus.Builder builderForValue)
       The status of indexing this asset.
       
      .google.cloud.visionai.v1.IndexingStatus status = 4;
    • mergeStatus

      public IndexAssetMetadata.Builder mergeStatus(IndexingStatus value)
       The status of indexing this asset.
       
      .google.cloud.visionai.v1.IndexingStatus status = 4;
    • clearStatus

      public IndexAssetMetadata.Builder clearStatus()
       The status of indexing this asset.
       
      .google.cloud.visionai.v1.IndexingStatus status = 4;
    • getStatusBuilder

      public IndexingStatus.Builder getStatusBuilder()
       The status of indexing this asset.
       
      .google.cloud.visionai.v1.IndexingStatus status = 4;
    • getStatusOrBuilder

      public IndexingStatusOrBuilder getStatusOrBuilder()
       The status of indexing this asset.
       
      .google.cloud.visionai.v1.IndexingStatus status = 4;
      Specified by:
      getStatusOrBuilder in interface IndexAssetMetadataOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       The start time of the operation.
       
      .google.protobuf.Timestamp start_time = 2;
      Specified by:
      hasStartTime in interface IndexAssetMetadataOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       The start time of the operation.
       
      .google.protobuf.Timestamp start_time = 2;
      Specified by:
      getStartTime in interface IndexAssetMetadataOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public IndexAssetMetadata.Builder setStartTime(com.google.protobuf.Timestamp value)
       The start time of the operation.
       
      .google.protobuf.Timestamp start_time = 2;
    • setStartTime

      public IndexAssetMetadata.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The start time of the operation.
       
      .google.protobuf.Timestamp start_time = 2;
    • mergeStartTime

      public IndexAssetMetadata.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       The start time of the operation.
       
      .google.protobuf.Timestamp start_time = 2;
    • clearStartTime

      public IndexAssetMetadata.Builder clearStartTime()
       The start time of the operation.
       
      .google.protobuf.Timestamp start_time = 2;
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       The start time of the operation.
       
      .google.protobuf.Timestamp start_time = 2;
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       The start time of the operation.
       
      .google.protobuf.Timestamp start_time = 2;
      Specified by:
      getStartTimeOrBuilder in interface IndexAssetMetadataOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       The update time of the operation.
       
      .google.protobuf.Timestamp update_time = 3;
      Specified by:
      hasUpdateTime in interface IndexAssetMetadataOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       The update time of the operation.
       
      .google.protobuf.Timestamp update_time = 3;
      Specified by:
      getUpdateTime in interface IndexAssetMetadataOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public IndexAssetMetadata.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       The update time of the operation.
       
      .google.protobuf.Timestamp update_time = 3;
    • setUpdateTime

      public IndexAssetMetadata.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The update time of the operation.
       
      .google.protobuf.Timestamp update_time = 3;
    • mergeUpdateTime

      public IndexAssetMetadata.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       The update time of the operation.
       
      .google.protobuf.Timestamp update_time = 3;
    • clearUpdateTime

      public IndexAssetMetadata.Builder clearUpdateTime()
       The update time of the operation.
       
      .google.protobuf.Timestamp update_time = 3;
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       The update time of the operation.
       
      .google.protobuf.Timestamp update_time = 3;
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       The update time of the operation.
       
      .google.protobuf.Timestamp update_time = 3;
      Specified by:
      getUpdateTimeOrBuilder in interface IndexAssetMetadataOrBuilder