Class MetadataJob.Status.Builder

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

public static final class MetadataJob.Status.Builder extends com.google.protobuf.GeneratedMessage.Builder<MetadataJob.Status.Builder> implements MetadataJob.StatusOrBuilder
 Metadata job status.
 
Protobuf type google.cloud.dataplex.v1.MetadataJob.Status
  • 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<MetadataJob.Status.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<MetadataJob.Status.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<MetadataJob.Status.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public MetadataJob.Status.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<MetadataJob.Status.Builder>
      Throws:
      IOException
    • getStateValue

      public int getStateValue()
       Output only. State of the metadata job.
       
      .google.cloud.dataplex.v1.MetadataJob.Status.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface MetadataJob.StatusOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public MetadataJob.Status.Builder setStateValue(int value)
       Output only. State of the metadata job.
       
      .google.cloud.dataplex.v1.MetadataJob.Status.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public MetadataJob.Status.State getState()
       Output only. State of the metadata job.
       
      .google.cloud.dataplex.v1.MetadataJob.Status.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface MetadataJob.StatusOrBuilder
      Returns:
      The state.
    • setState

       Output only. State of the metadata job.
       
      .google.cloud.dataplex.v1.MetadataJob.Status.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public MetadataJob.Status.Builder clearState()
       Output only. State of the metadata job.
       
      .google.cloud.dataplex.v1.MetadataJob.Status.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getMessage

      public String getMessage()
       Output only. Message relating to the progression of a metadata job.
       
      string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMessage in interface MetadataJob.StatusOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Output only. Message relating to the progression of a metadata job.
       
      string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMessageBytes in interface MetadataJob.StatusOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public MetadataJob.Status.Builder setMessage(String value)
       Output only. Message relating to the progression of a metadata job.
       
      string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public MetadataJob.Status.Builder clearMessage()
       Output only. Message relating to the progression of a metadata job.
       
      string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setMessageBytes

      public MetadataJob.Status.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Output only. Message relating to the progression of a metadata job.
       
      string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • getCompletionPercent

      public int getCompletionPercent()
       Output only. Progress tracking.
       
      int32 completion_percent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCompletionPercent in interface MetadataJob.StatusOrBuilder
      Returns:
      The completionPercent.
    • setCompletionPercent

      public MetadataJob.Status.Builder setCompletionPercent(int value)
       Output only. Progress tracking.
       
      int32 completion_percent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The completionPercent to set.
      Returns:
      This builder for chaining.
    • clearCompletionPercent

      public MetadataJob.Status.Builder clearCompletionPercent()
       Output only. Progress tracking.
       
      int32 completion_percent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time when the status was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface MetadataJob.StatusOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time when the status was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface MetadataJob.StatusOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public MetadataJob.Status.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the status was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public MetadataJob.Status.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the status was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public MetadataJob.Status.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the status was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public MetadataJob.Status.Builder clearUpdateTime()
       Output only. The time when the status was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time when the status was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time when the status was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface MetadataJob.StatusOrBuilder