Class DiscoveryEvent.EntityDetails.Builder

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

public static final class DiscoveryEvent.EntityDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryEvent.EntityDetails.Builder> implements DiscoveryEvent.EntityDetailsOrBuilder
 Details about the entity.
 
Protobuf type google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails
  • 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<DiscoveryEvent.EntityDetails.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<DiscoveryEvent.EntityDetails.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<DiscoveryEvent.EntityDetails.Builder>
    • getDefaultInstanceForType

      public DiscoveryEvent.EntityDetails 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 DiscoveryEvent.EntityDetails buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public DiscoveryEvent.EntityDetails.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<DiscoveryEvent.EntityDetails.Builder>
      Throws:
      IOException
    • getEntity

      public String getEntity()
       The name of the entity resource.
       The name is the fully-qualified resource name.
       
      string entity = 1;
      Specified by:
      getEntity in interface DiscoveryEvent.EntityDetailsOrBuilder
      Returns:
      The entity.
    • getEntityBytes

      public com.google.protobuf.ByteString getEntityBytes()
       The name of the entity resource.
       The name is the fully-qualified resource name.
       
      string entity = 1;
      Specified by:
      getEntityBytes in interface DiscoveryEvent.EntityDetailsOrBuilder
      Returns:
      The bytes for entity.
    • setEntity

      public DiscoveryEvent.EntityDetails.Builder setEntity(String value)
       The name of the entity resource.
       The name is the fully-qualified resource name.
       
      string entity = 1;
      Parameters:
      value - The entity to set.
      Returns:
      This builder for chaining.
    • clearEntity

       The name of the entity resource.
       The name is the fully-qualified resource name.
       
      string entity = 1;
      Returns:
      This builder for chaining.
    • setEntityBytes

      public DiscoveryEvent.EntityDetails.Builder setEntityBytes(com.google.protobuf.ByteString value)
       The name of the entity resource.
       The name is the fully-qualified resource name.
       
      string entity = 1;
      Parameters:
      value - The bytes for entity to set.
      Returns:
      This builder for chaining.
    • getTypeValue

      public int getTypeValue()
       The type of the entity resource.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
      Specified by:
      getTypeValue in interface DiscoveryEvent.EntityDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public DiscoveryEvent.EntityDetails.Builder setTypeValue(int value)
       The type of the entity resource.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public DiscoveryEvent.EntityType getType()
       The type of the entity resource.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
      Specified by:
      getType in interface DiscoveryEvent.EntityDetailsOrBuilder
      Returns:
      The type.
    • setType

       The type of the entity resource.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       The type of the entity resource.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
      Returns:
      This builder for chaining.