Class GovernanceEvent.Entity (1.31.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
TypeDescription
int

ENTITY_TYPE_FIELD_NUMBER

public static final int ENTITY_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GovernanceEvent.Entity getDefaultInstance()
Returns
TypeDescription
GovernanceEvent.Entity

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GovernanceEvent.Entity.Builder newBuilder()
Returns
TypeDescription
GovernanceEvent.Entity.Builder

newBuilder(GovernanceEvent.Entity prototype)

public static GovernanceEvent.Entity.Builder newBuilder(GovernanceEvent.Entity prototype)
Parameter
NameDescription
prototypeGovernanceEvent.Entity
Returns
TypeDescription
GovernanceEvent.Entity.Builder

parseDelimitedFrom(InputStream input)

public static GovernanceEvent.Entity parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GovernanceEvent.Entity
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GovernanceEvent.Entity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GovernanceEvent.Entity
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GovernanceEvent.Entity parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GovernanceEvent.Entity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GovernanceEvent.Entity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GovernanceEvent.Entity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GovernanceEvent.Entity parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GovernanceEvent.Entity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GovernanceEvent.Entity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GovernanceEvent.Entity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GovernanceEvent.Entity parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GovernanceEvent.Entity
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GovernanceEvent.Entity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GovernanceEvent.Entity
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GovernanceEvent.Entity parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GovernanceEvent.Entity
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GovernanceEvent.Entity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GovernanceEvent.Entity
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GovernanceEvent.Entity parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GovernanceEvent.Entity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GovernanceEvent.Entity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GovernanceEvent.Entity
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GovernanceEvent.Entity.Builder newBuilderForType()
Returns
TypeDescription
GovernanceEvent.Entity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GovernanceEvent.Entity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GovernanceEvent.Entity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GovernanceEvent.Entity.Builder toBuilder()
Returns
TypeDescription
GovernanceEvent.Entity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException