Class Entity.CompatibilityStatus.Compatibility.Builder

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

public static final class Entity.CompatibilityStatus.Compatibility.Builder extends com.google.protobuf.GeneratedMessage.Builder<Entity.CompatibilityStatus.Compatibility.Builder> implements Entity.CompatibilityStatus.CompatibilityOrBuilder
 Provides compatibility information for a specific metadata store.
 
Protobuf type google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility
  • 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<Entity.CompatibilityStatus.Compatibility.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<Entity.CompatibilityStatus.Compatibility.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<Entity.CompatibilityStatus.Compatibility.Builder>
    • getDefaultInstanceForType

      public Entity.CompatibilityStatus.Compatibility 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

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

      public Entity.CompatibilityStatus.Compatibility.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<Entity.CompatibilityStatus.Compatibility.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<Entity.CompatibilityStatus.Compatibility.Builder>
    • mergeFrom

      public Entity.CompatibilityStatus.Compatibility.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<Entity.CompatibilityStatus.Compatibility.Builder>
      Throws:
      IOException
    • getCompatible

      public boolean getCompatible()
       Output only. Whether the entity is compatible and can be represented in
       the metadata store.
       
      bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCompatible in interface Entity.CompatibilityStatus.CompatibilityOrBuilder
      Returns:
      The compatible.
    • setCompatible

      public Entity.CompatibilityStatus.Compatibility.Builder setCompatible(boolean value)
       Output only. Whether the entity is compatible and can be represented in
       the metadata store.
       
      bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The compatible to set.
      Returns:
      This builder for chaining.
    • clearCompatible

       Output only. Whether the entity is compatible and can be represented in
       the metadata store.
       
      bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getReason

      public String getReason()
       Output only. Provides additional detail if the entity is incompatible
       with the metadata store.
       
      string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReason in interface Entity.CompatibilityStatus.CompatibilityOrBuilder
      Returns:
      The reason.
    • getReasonBytes

      public com.google.protobuf.ByteString getReasonBytes()
       Output only. Provides additional detail if the entity is incompatible
       with the metadata store.
       
      string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReasonBytes in interface Entity.CompatibilityStatus.CompatibilityOrBuilder
      Returns:
      The bytes for reason.
    • setReason

       Output only. Provides additional detail if the entity is incompatible
       with the metadata store.
       
      string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The reason to set.
      Returns:
      This builder for chaining.
    • clearReason

       Output only. Provides additional detail if the entity is incompatible
       with the metadata store.
       
      string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setReasonBytes

      public Entity.CompatibilityStatus.Compatibility.Builder setReasonBytes(com.google.protobuf.ByteString value)
       Output only. Provides additional detail if the entity is incompatible
       with the metadata store.
       
      string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for reason to set.
      Returns:
      This builder for chaining.