Class GovernanceEvent (1.44.0)

public final class GovernanceEvent extends GeneratedMessageV3 implements GovernanceEventOrBuilder

Payload associated with Governance related log events.

Protobuf type google.cloud.dataplex.v1.GovernanceEvent

Static Fields

ENTITY_FIELD_NUMBER

public static final int ENTITY_FIELD_NUMBER
Field Value
Type Description
int

EVENT_TYPE_FIELD_NUMBER

public static final int EVENT_TYPE_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GovernanceEvent getDefaultInstance()
Returns
Type Description
GovernanceEvent

getDescriptor()

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

newBuilder()

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

newBuilder(GovernanceEvent prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GovernanceEvent getDefaultInstanceForType()
Returns
Type Description
GovernanceEvent

getEntity()

public GovernanceEvent.Entity getEntity()

Entity resource information if the log event is associated with a specific entity.

optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3;

Returns
Type Description
GovernanceEvent.Entity

The entity.

getEntityOrBuilder()

public GovernanceEvent.EntityOrBuilder getEntityOrBuilder()

Entity resource information if the log event is associated with a specific entity.

optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3;

Returns
Type Description
GovernanceEvent.EntityOrBuilder

getEventType()

public GovernanceEvent.EventType getEventType()

The type of the event.

.google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2;

Returns
Type Description
GovernanceEvent.EventType

The eventType.

getEventTypeValue()

public int getEventTypeValue()

The type of the event.

.google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for eventType.

getMessage()

public String getMessage()

The log message.

string message = 1;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

The log message.

string message = 1;

Returns
Type Description
ByteString

The bytes for message.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasEntity()

public boolean hasEntity()

Entity resource information if the log event is associated with a specific entity.

optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3;

Returns
Type Description
boolean

Whether the entity field is set.

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.Builder newBuilderForType()
Returns
Type Description
GovernanceEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GovernanceEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GovernanceEvent.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.Builder toBuilder()
Returns
Type Description
GovernanceEvent.Builder

writeTo(CodedOutputStream output)

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