Class ReconcileTagsMetadata.Builder

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

public static final class ReconcileTagsMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReconcileTagsMetadata.Builder> implements ReconcileTagsMetadataOrBuilder
 [Long-running operation][google.longrunning.Operation]
 metadata message returned by the
 [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags].
 
Protobuf type google.cloud.datacatalog.v1.ReconcileTagsMetadata
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ReconcileTagsMetadata.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ReconcileTagsMetadata.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReconcileTagsMetadata.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<ReconcileTagsMetadata.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<ReconcileTagsMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public int getStateValue()
       State of the reconciliation operation.
       
      .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1;
      Specified by:
      getStateValue in interface ReconcileTagsMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public ReconcileTagsMetadata.Builder setStateValue(int value)
       State of the reconciliation operation.
       
      .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

       State of the reconciliation operation.
       
      .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1;
      Specified by:
      getState in interface ReconcileTagsMetadataOrBuilder
      Returns:
      The state.
    • setState

       State of the reconciliation operation.
       
      .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public ReconcileTagsMetadata.Builder clearState()
       State of the reconciliation operation.
       
      .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1;
      Returns:
      This builder for chaining.
    • getErrorsCount

      public int getErrorsCount()
      Description copied from interface: ReconcileTagsMetadataOrBuilder
       Maps the name of each tagged column (or empty string for a
       sole entry) to tagging operation [status][google.rpc.Status].
       
      map<string, .google.rpc.Status> errors = 2;
      Specified by:
      getErrorsCount in interface ReconcileTagsMetadataOrBuilder
    • containsErrors

      public boolean containsErrors(String key)
       Maps the name of each tagged column (or empty string for a
       sole entry) to tagging operation [status][google.rpc.Status].
       
      map<string, .google.rpc.Status> errors = 2;
      Specified by:
      containsErrors in interface ReconcileTagsMetadataOrBuilder
    • getErrors

      @Deprecated public Map<String,Status> getErrors()
      Deprecated.
      Use getErrorsMap() instead.
      Specified by:
      getErrors in interface ReconcileTagsMetadataOrBuilder
    • getErrorsMap

      public Map<String,Status> getErrorsMap()
       Maps the name of each tagged column (or empty string for a
       sole entry) to tagging operation [status][google.rpc.Status].
       
      map<string, .google.rpc.Status> errors = 2;
      Specified by:
      getErrorsMap in interface ReconcileTagsMetadataOrBuilder
    • getErrorsOrDefault

      public Status getErrorsOrDefault(String key, Status defaultValue)
       Maps the name of each tagged column (or empty string for a
       sole entry) to tagging operation [status][google.rpc.Status].
       
      map<string, .google.rpc.Status> errors = 2;
      Specified by:
      getErrorsOrDefault in interface ReconcileTagsMetadataOrBuilder
    • getErrorsOrThrow

      public Status getErrorsOrThrow(String key)
       Maps the name of each tagged column (or empty string for a
       sole entry) to tagging operation [status][google.rpc.Status].
       
      map<string, .google.rpc.Status> errors = 2;
      Specified by:
      getErrorsOrThrow in interface ReconcileTagsMetadataOrBuilder
    • clearErrors

      public ReconcileTagsMetadata.Builder clearErrors()
    • removeErrors

      public ReconcileTagsMetadata.Builder removeErrors(String key)
       Maps the name of each tagged column (or empty string for a
       sole entry) to tagging operation [status][google.rpc.Status].
       
      map<string, .google.rpc.Status> errors = 2;
    • getMutableErrors

      @Deprecated public Map<String,Status> getMutableErrors()
      Deprecated.
      Use alternate mutation accessors instead.
    • putErrors

      public ReconcileTagsMetadata.Builder putErrors(String key, Status value)
       Maps the name of each tagged column (or empty string for a
       sole entry) to tagging operation [status][google.rpc.Status].
       
      map<string, .google.rpc.Status> errors = 2;
    • putAllErrors

      public ReconcileTagsMetadata.Builder putAllErrors(Map<String,Status> values)
       Maps the name of each tagged column (or empty string for a
       sole entry) to tagging operation [status][google.rpc.Status].
       
      map<string, .google.rpc.Status> errors = 2;
    • putErrorsBuilderIfAbsent

      public Status.Builder putErrorsBuilderIfAbsent(String key)
       Maps the name of each tagged column (or empty string for a
       sole entry) to tagging operation [status][google.rpc.Status].
       
      map<string, .google.rpc.Status> errors = 2;