Send feedback
Class GovernanceEvent.Builder (1.35.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.35.0 keyboard_arrow_down
public static final class GovernanceEvent . Builder extends GeneratedMessageV3 . Builder<GovernanceEvent . Builder > implements GovernanceEventOrBuilder
Payload associated with Governance related log events.
Protobuf type google.cloud.dataplex.v1.GovernanceEvent
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GovernanceEvent . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public GovernanceEvent build ()
buildPartial()
public GovernanceEvent buildPartial ()
clear()
public GovernanceEvent . Builder clear ()
Overrides
clearEntity()
public GovernanceEvent . Builder clearEntity ()
Entity resource information if the log event is associated with a
specific entity.
optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3;
clearEventType()
public GovernanceEvent . Builder clearEventType ()
The type of the event.
.google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2;
clearField(Descriptors.FieldDescriptor field)
public GovernanceEvent . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearMessage()
public GovernanceEvent . Builder clearMessage ()
The log message.
string message = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public GovernanceEvent . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public GovernanceEvent . Builder clone ()
Overrides
getDefaultInstanceForType()
public GovernanceEvent getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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;
getEntityBuilder()
public GovernanceEvent . Entity . Builder getEntityBuilder ()
Entity resource information if the log event is associated with a
specific entity.
optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3;
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;
getEventType()
public GovernanceEvent . EventType getEventType ()
The type of the event.
.google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2;
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.
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeEntity(GovernanceEvent.Entity value)
public GovernanceEvent . Builder mergeEntity ( GovernanceEvent . Entity value )
Entity resource information if the log event is associated with a
specific entity.
optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3;
mergeFrom(GovernanceEvent other)
public GovernanceEvent . Builder mergeFrom ( GovernanceEvent other )
public GovernanceEvent . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GovernanceEvent . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GovernanceEvent . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setEntity(GovernanceEvent.Entity value)
public GovernanceEvent . Builder setEntity ( GovernanceEvent . Entity value )
Entity resource information if the log event is associated with a
specific entity.
optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3;
setEntity(GovernanceEvent.Entity.Builder builderForValue)
public GovernanceEvent . Builder setEntity ( GovernanceEvent . Entity . Builder builderForValue )
Entity resource information if the log event is associated with a
specific entity.
optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3;
setEventType(GovernanceEvent.EventType value)
public GovernanceEvent . Builder setEventType ( GovernanceEvent . EventType value )
The type of the event.
.google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2;
setEventTypeValue(int value)
public GovernanceEvent . Builder setEventTypeValue ( int value )
The type of the event.
.google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2;
Parameter Name Description value
int
The enum numeric value on the wire for eventType to set.
setField(Descriptors.FieldDescriptor field, Object value)
public GovernanceEvent . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setMessage(String value)
public GovernanceEvent . Builder setMessage ( String value )
The log message.
string message = 1;
Parameter Name Description value
String
The message to set.
setMessageBytes(ByteString value)
public GovernanceEvent . Builder setMessageBytes ( ByteString value )
The log message.
string message = 1;
Parameter Name Description value
ByteString
The bytes for message to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GovernanceEvent . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GovernanceEvent . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]