Class GovernanceEvent.Entity.Builder (1.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GovernanceEvent.Entity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GovernanceEvent.Entity.Builder
Overrides

build()

public GovernanceEvent.Entity build()
Returns
TypeDescription
GovernanceEvent.Entity

buildPartial()

public GovernanceEvent.Entity buildPartial()
Returns
TypeDescription
GovernanceEvent.Entity

clear()

public GovernanceEvent.Entity.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GovernanceEvent.Entity.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GovernanceEvent.Entity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GovernanceEvent.Entity.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GovernanceEvent.Entity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GovernanceEvent.Entity.Builder
Overrides

clone()

public GovernanceEvent.Entity.Builder clone()
Returns
TypeDescription
GovernanceEvent.Entity.Builder
Overrides

getDefaultInstanceForType()

public GovernanceEvent.Entity getDefaultInstanceForType()
Returns
TypeDescription
GovernanceEvent.Entity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
GovernanceEvent.Entity.EntityType

The entityType.

getEntityTypeValue()

public int getEntityTypeValue()

Type of entity.

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

Returns
TypeDescription
int

The enum numeric value on the wire for entityType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GovernanceEvent.Entity other)

public GovernanceEvent.Entity.Builder mergeFrom(GovernanceEvent.Entity other)
Parameter
NameDescription
otherGovernanceEvent.Entity
Returns
TypeDescription
GovernanceEvent.Entity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GovernanceEvent.Entity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GovernanceEvent.Entity.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GovernanceEvent.Entity.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GovernanceEvent.Entity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GovernanceEvent.Entity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The entity to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for entity to set.

Returns
TypeDescription
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
NameDescription
valueGovernanceEvent.Entity.EntityType

The entityType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
GovernanceEvent.Entity.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GovernanceEvent.Entity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GovernanceEvent.Entity.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GovernanceEvent.Entity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GovernanceEvent.Entity.Builder
Overrides