Class GovernanceEvent.Entity (1.49.0)

public static final class GovernanceEvent.Entity extends GeneratedMessageV3 implements GovernanceEvent.EntityOrBuilder

Information about Entity resource that the log event is associated with.

Protobuf type google.cloud.dataplex.v1.GovernanceEvent.Entity

Static Fields

ENTITY_FIELD_NUMBER

public static final int ENTITY_FIELD_NUMBER
Field Value
Type Description
int

ENTITY_TYPE_FIELD_NUMBER

public static final int ENTITY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GovernanceEvent.Entity getDefaultInstance()
Returns
Type Description
GovernanceEvent.Entity

getDescriptor()

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

newBuilder()

public static GovernanceEvent.Entity.Builder newBuilder()
Returns
Type Description
GovernanceEvent.Entity.Builder

newBuilder(GovernanceEvent.Entity prototype)

public static GovernanceEvent.Entity.Builder newBuilder(GovernanceEvent.Entity prototype)
Parameter
Name Description
prototype GovernanceEvent.Entity
Returns
Type Description
GovernanceEvent.Entity.Builder

parseDelimitedFrom(InputStream input)

public static GovernanceEvent.Entity parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GovernanceEvent.Entity
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GovernanceEvent.Entity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GovernanceEvent.Entity
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GovernanceEvent.Entity parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GovernanceEvent.Entity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GovernanceEvent.Entity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GovernanceEvent.Entity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GovernanceEvent.Entity parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GovernanceEvent.Entity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GovernanceEvent.Entity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GovernanceEvent.Entity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GovernanceEvent.Entity parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GovernanceEvent.Entity
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GovernanceEvent.Entity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GovernanceEvent.Entity
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GovernanceEvent.Entity parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GovernanceEvent.Entity
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GovernanceEvent.Entity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GovernanceEvent.Entity
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GovernanceEvent.Entity parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GovernanceEvent.Entity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GovernanceEvent.Entity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GovernanceEvent.Entity
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GovernanceEvent.Entity> parser()
Returns
Type Description
Parser<Entity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<GovernanceEvent.Entity> getParserForType()
Returns
Type Description
Parser<Entity>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GovernanceEvent.Entity.Builder newBuilderForType()
Returns
Type Description
GovernanceEvent.Entity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GovernanceEvent.Entity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GovernanceEvent.Entity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GovernanceEvent.Entity.Builder toBuilder()
Returns
Type Description
GovernanceEvent.Entity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException