Class GovernanceEvent.Entity.Builder

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

public static final class GovernanceEvent.Entity.Builder extends com.google.protobuf.GeneratedMessage.Builder<GovernanceEvent.Entity.Builder> implements GovernanceEvent.EntityOrBuilder
 Information about Entity resource that the log event is associated with.
 
Protobuf type google.cloud.dataplex.v1.GovernanceEvent.Entity
  • 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<GovernanceEvent.Entity.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<GovernanceEvent.Entity.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<GovernanceEvent.Entity.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getEntity()
       The Entity resource the log event is associated with.
       Format:
       `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`
       
      string entity = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEntity in interface GovernanceEvent.EntityOrBuilder
      Returns:
      The entity.
    • getEntityBytes

      public com.google.protobuf.ByteString getEntityBytes()
       The Entity resource the log event is associated with.
       Format:
       `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`
       
      string entity = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEntityBytes in interface GovernanceEvent.EntityOrBuilder
      Returns:
      The bytes for entity.
    • setEntity

      public GovernanceEvent.Entity.Builder setEntity(String value)
       The Entity resource the log event is associated with.
       Format:
       `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`
       
      string entity = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The entity to set.
      Returns:
      This builder for chaining.
    • clearEntity

      public GovernanceEvent.Entity.Builder clearEntity()
       The Entity resource the log event is associated with.
       Format:
       `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`
       
      string entity = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setEntityBytes

      public GovernanceEvent.Entity.Builder setEntityBytes(com.google.protobuf.ByteString value)
       The Entity resource the log event is associated with.
       Format:
       `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`
       
      string entity = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for entity to set.
      Returns:
      This builder for chaining.
    • getEntityTypeValue

      public int getEntityTypeValue()
       Type of entity.
       
      .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;
      Specified by:
      getEntityTypeValue in interface GovernanceEvent.EntityOrBuilder
      Returns:
      The enum numeric value on the wire for entityType.
    • setEntityTypeValue

      public GovernanceEvent.Entity.Builder setEntityTypeValue(int value)
       Type of entity.
       
      .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;
      Parameters:
      value - The enum numeric value on the wire for entityType to set.
      Returns:
      This builder for chaining.
    • getEntityType

      public GovernanceEvent.Entity.EntityType getEntityType()
       Type of entity.
       
      .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;
      Specified by:
      getEntityType in interface GovernanceEvent.EntityOrBuilder
      Returns:
      The entityType.
    • setEntityType

       Type of entity.
       
      .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;
      Parameters:
      value - The entityType to set.
      Returns:
      This builder for chaining.
    • clearEntityType

      public GovernanceEvent.Entity.Builder clearEntityType()
       Type of entity.
       
      .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;
      Returns:
      This builder for chaining.