Class GovernanceEvent.Entity.Builder (1.47.0)

public static final class GovernanceEvent.Entity.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GovernanceEvent.Entity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GovernanceEvent.Entity.Builder
Overrides

build()

public GovernanceEvent.Entity build()
Returns
Type Description
GovernanceEvent.Entity

buildPartial()

public GovernanceEvent.Entity buildPartial()
Returns
Type Description
GovernanceEvent.Entity

clear()

public GovernanceEvent.Entity.Builder clear()
Returns
Type Description
GovernanceEvent.Entity.Builder
Overrides

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
Type Description
GovernanceEvent.Entity.Builder

This builder for chaining.

clearEntityType()

public GovernanceEvent.Entity.Builder clearEntityType()

Type of entity.

.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;

Returns
Type Description
GovernanceEvent.Entity.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GovernanceEvent.Entity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GovernanceEvent.Entity.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GovernanceEvent.Entity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GovernanceEvent.Entity.Builder
Overrides

clone()

public GovernanceEvent.Entity.Builder clone()
Returns
Type Description
GovernanceEvent.Entity.Builder
Overrides

getDefaultInstanceForType()

public GovernanceEvent.Entity getDefaultInstanceForType()
Returns
Type Description
GovernanceEvent.Entity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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) = { ... }

Returns
Type Description
String

The entity.

getEntityBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for entity.

getEntityType()

public GovernanceEvent.Entity.EntityType getEntityType()

Type of entity.

.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;

Returns
Type Description
GovernanceEvent.Entity.EntityType

The entityType.

getEntityTypeValue()

public int getEntityTypeValue()

Type of entity.

.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for entityType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GovernanceEvent.Entity other)

public GovernanceEvent.Entity.Builder mergeFrom(GovernanceEvent.Entity other)
Parameter
Name Description
other GovernanceEvent.Entity
Returns
Type Description
GovernanceEvent.Entity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GovernanceEvent.Entity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GovernanceEvent.Entity.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GovernanceEvent.Entity.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GovernanceEvent.Entity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GovernanceEvent.Entity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GovernanceEvent.Entity.Builder
Overrides

setEntity(String value)

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) = { ... }

Parameter
Name Description
value String

The entity to set.

Returns
Type Description
GovernanceEvent.Entity.Builder

This builder for chaining.

setEntityBytes(ByteString value)

public GovernanceEvent.Entity.Builder setEntityBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for entity to set.

Returns
Type Description
GovernanceEvent.Entity.Builder

This builder for chaining.

setEntityType(GovernanceEvent.Entity.EntityType value)

public GovernanceEvent.Entity.Builder setEntityType(GovernanceEvent.Entity.EntityType value)

Type of entity.

.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;

Parameter
Name Description
value GovernanceEvent.Entity.EntityType

The entityType to set.

Returns
Type Description
GovernanceEvent.Entity.Builder

This builder for chaining.

setEntityTypeValue(int value)

public GovernanceEvent.Entity.Builder setEntityTypeValue(int value)

Type of entity.

.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for entityType to set.

Returns
Type Description
GovernanceEvent.Entity.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GovernanceEvent.Entity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GovernanceEvent.Entity.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GovernanceEvent.Entity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GovernanceEvent.Entity.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GovernanceEvent.Entity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GovernanceEvent.Entity.Builder
Overrides