Class ExportDataOperationMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportDataOperationMetadata.Builder>
com.google.cloud.datalabeling.v1beta1.ExportDataOperationMetadata.Builder
All Implemented Interfaces:
ExportDataOperationMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExportDataOperationMetadata

public static final class ExportDataOperationMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportDataOperationMetadata.Builder> implements ExportDataOperationMetadataOrBuilder
 Metadata of an ExportData operation.
 
Protobuf type google.cloud.datalabeling.v1beta1.ExportDataOperationMetadata
  • 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<ExportDataOperationMetadata.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<ExportDataOperationMetadata.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<ExportDataOperationMetadata.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public ExportDataOperationMetadata.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<ExportDataOperationMetadata.Builder>
      Throws:
      IOException
    • getDataset

      public String getDataset()
       Output only. The name of dataset to be exported.
       "projects/*/datasets/*"
       
      string dataset = 1;
      Specified by:
      getDataset in interface ExportDataOperationMetadataOrBuilder
      Returns:
      The dataset.
    • getDatasetBytes

      public com.google.protobuf.ByteString getDatasetBytes()
       Output only. The name of dataset to be exported.
       "projects/*/datasets/*"
       
      string dataset = 1;
      Specified by:
      getDatasetBytes in interface ExportDataOperationMetadataOrBuilder
      Returns:
      The bytes for dataset.
    • setDataset

      public ExportDataOperationMetadata.Builder setDataset(String value)
       Output only. The name of dataset to be exported.
       "projects/*/datasets/*"
       
      string dataset = 1;
      Parameters:
      value - The dataset to set.
      Returns:
      This builder for chaining.
    • clearDataset

      public ExportDataOperationMetadata.Builder clearDataset()
       Output only. The name of dataset to be exported.
       "projects/*/datasets/*"
       
      string dataset = 1;
      Returns:
      This builder for chaining.
    • setDatasetBytes

      public ExportDataOperationMetadata.Builder setDatasetBytes(com.google.protobuf.ByteString value)
       Output only. The name of dataset to be exported.
       "projects/*/datasets/*"
       
      string dataset = 1;
      Parameters:
      value - The bytes for dataset to set.
      Returns:
      This builder for chaining.
    • getPartialFailuresList

      public List<Status> getPartialFailuresList()
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
      Specified by:
      getPartialFailuresList in interface ExportDataOperationMetadataOrBuilder
    • getPartialFailuresCount

      public int getPartialFailuresCount()
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
      Specified by:
      getPartialFailuresCount in interface ExportDataOperationMetadataOrBuilder
    • getPartialFailures

      public Status getPartialFailures(int index)
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
      Specified by:
      getPartialFailures in interface ExportDataOperationMetadataOrBuilder
    • setPartialFailures

      public ExportDataOperationMetadata.Builder setPartialFailures(int index, Status value)
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
    • setPartialFailures

      public ExportDataOperationMetadata.Builder setPartialFailures(int index, Status.Builder builderForValue)
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
    • addPartialFailures

      public ExportDataOperationMetadata.Builder addPartialFailures(Status value)
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
    • addPartialFailures

      public ExportDataOperationMetadata.Builder addPartialFailures(int index, Status value)
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
    • addPartialFailures

      public ExportDataOperationMetadata.Builder addPartialFailures(Status.Builder builderForValue)
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
    • addPartialFailures

      public ExportDataOperationMetadata.Builder addPartialFailures(int index, Status.Builder builderForValue)
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
    • addAllPartialFailures

      public ExportDataOperationMetadata.Builder addAllPartialFailures(Iterable<? extends Status> values)
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
    • clearPartialFailures

      public ExportDataOperationMetadata.Builder clearPartialFailures()
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
    • removePartialFailures

      public ExportDataOperationMetadata.Builder removePartialFailures(int index)
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
    • getPartialFailuresBuilder

      public Status.Builder getPartialFailuresBuilder(int index)
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
    • getPartialFailuresOrBuilder

      public StatusOrBuilder getPartialFailuresOrBuilder(int index)
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
      Specified by:
      getPartialFailuresOrBuilder in interface ExportDataOperationMetadataOrBuilder
    • getPartialFailuresOrBuilderList

      public List<? extends StatusOrBuilder> getPartialFailuresOrBuilderList()
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
      Specified by:
      getPartialFailuresOrBuilderList in interface ExportDataOperationMetadataOrBuilder
    • addPartialFailuresBuilder

      public Status.Builder addPartialFailuresBuilder()
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
    • addPartialFailuresBuilder

      public Status.Builder addPartialFailuresBuilder(int index)
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
    • getPartialFailuresBuilderList

      public List<Status.Builder> getPartialFailuresBuilderList()
       Output only. Partial failures encountered.
       E.g. single files that couldn't be read.
       Status details field will contain standard GCP error details.
       
      repeated .google.rpc.Status partial_failures = 2;
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Timestamp when export dataset request was created.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      hasCreateTime in interface ExportDataOperationMetadataOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Timestamp when export dataset request was created.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      getCreateTime in interface ExportDataOperationMetadataOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public ExportDataOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when export dataset request was created.
       
      .google.protobuf.Timestamp create_time = 3;
    • setCreateTime

      public ExportDataOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when export dataset request was created.
       
      .google.protobuf.Timestamp create_time = 3;
    • mergeCreateTime

      public ExportDataOperationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when export dataset request was created.
       
      .google.protobuf.Timestamp create_time = 3;
    • clearCreateTime

      public ExportDataOperationMetadata.Builder clearCreateTime()
       Output only. Timestamp when export dataset request was created.
       
      .google.protobuf.Timestamp create_time = 3;
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Timestamp when export dataset request was created.
       
      .google.protobuf.Timestamp create_time = 3;
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when export dataset request was created.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      getCreateTimeOrBuilder in interface ExportDataOperationMetadataOrBuilder