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

EVENT_TYPE_FIELD_NUMBER

public static final int EVENT_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GovernanceEvent getDefaultInstance()
Returns
TypeDescription
GovernanceEvent

getDescriptor()

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

newBuilder()

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

newBuilder(GovernanceEvent prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getEventType()

public GovernanceEvent.EventType getEventType()

The type of the event.

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

Returns
TypeDescription
GovernanceEvent.EventType

The eventType.

getEventTypeValue()

public int getEventTypeValue()

The type of the event.

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

Returns
TypeDescription
int

The enum numeric value on the wire for eventType.

getMessage()

public String getMessage()

The log message.

string message = 1;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

The log message.

string message = 1;

Returns
TypeDescription
ByteString

The bytes for message.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the entity field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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