public static final class GovernanceEvent.Entity.Builder extends GeneratedMessage.Builder<GovernanceEvent.Entity.Builder> implements GovernanceEvent.EntityOrBuilderInformation about Entity resource that the log event is associated with.
Protobuf type google.cloud.dataplex.v1.GovernanceEvent.Entity
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GovernanceEvent.Entity.BuilderImplements
GovernanceEvent.EntityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GovernanceEvent.Entity build()| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Entity |
|
buildPartial()
public GovernanceEvent.Entity buildPartial()| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Entity |
|
clear()
public GovernanceEvent.Entity.Builder clear()| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Entity.Builder |
|
clearEntity()
public GovernanceEvent.Entity.Builder clearEntity() 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 | |
|---|---|
| Type | Description |
GovernanceEvent.Entity.Builder |
This builder for chaining. |
clearEntityType()
public GovernanceEvent.Entity.Builder clearEntityType()Type of entity.
.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Entity.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GovernanceEvent.Entity getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Entity |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
GovernanceEvent.Entity.EntityType |
The entityType. |
getEntityTypeValue()
public int getEntityTypeValue()Type of entity.
.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for entityType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GovernanceEvent.Entity other)
public GovernanceEvent.Entity.Builder mergeFrom(GovernanceEvent.Entity other)| Parameter | |
|---|---|
| Name | Description |
other |
GovernanceEvent.Entity |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Entity.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GovernanceEvent.Entity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Entity.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GovernanceEvent.Entity.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Entity.Builder |
|
setEntity(String value)
public GovernanceEvent.Entity.Builder setEntity(String value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe entity to set. |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Entity.Builder |
This builder for chaining. |
setEntityBytes(ByteString value)
public GovernanceEvent.Entity.Builder setEntityBytes(ByteString value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for entity to set. |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Entity.Builder |
This builder for chaining. |
setEntityType(GovernanceEvent.Entity.EntityType value)
public GovernanceEvent.Entity.Builder setEntityType(GovernanceEvent.Entity.EntityType value)Type of entity.
.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
GovernanceEvent.Entity.EntityTypeThe entityType to set. |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Entity.Builder |
This builder for chaining. |
setEntityTypeValue(int value)
public GovernanceEvent.Entity.Builder setEntityTypeValue(int value)Type of entity.
.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for entityType to set. |
| Returns | |
|---|---|
| Type | Description |
GovernanceEvent.Entity.Builder |
This builder for chaining. |