public static final class GovernanceEvent.Builder extends GeneratedMessage.Builder<GovernanceEvent.Builder> implements GovernanceEventOrBuilderPayload associated with Governance related log events.
Protobuf type google.cloud.dataplex.v1.GovernanceEvent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GovernanceEvent.BuilderImplements
GovernanceEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GovernanceEvent build()| Returns | |
|---|---|
| Type | Description |
GovernanceEvent |
|
buildPartial()
public GovernanceEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
GovernanceEvent |
|
clear()
public GovernanceEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
|
clearEventType()
public GovernanceEvent.Builder clearEventType()The type of the event.
.google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2;
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
This builder for chaining. |
clearMessage()
public GovernanceEvent.Builder clearMessage()The log message.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GovernanceEvent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GovernanceEvent |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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;
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Entity.Builder |
|
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. |
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
GovernanceEvent.Entity |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
|
mergeFrom(GovernanceEvent other)
public GovernanceEvent.Builder mergeFrom(GovernanceEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
GovernanceEvent |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GovernanceEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GovernanceEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
GovernanceEvent.Entity |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GovernanceEvent.Entity.Builder |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
GovernanceEvent.EventTypeThe eventType to set. |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
This builder for chaining. |
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 |
intThe enum numeric value on the wire for eventType to set. |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
This builder for chaining. |
setMessage(String value)
public GovernanceEvent.Builder setMessage(String value)The log message.
string message = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe message to set. |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public GovernanceEvent.Builder setMessageBytes(ByteString value)The log message.
string message = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Builder |
This builder for chaining. |