public static final class GovernanceEvent.Entity.Builder extends GeneratedMessageV3.Builder<GovernanceEvent.Entity.Builder> implements GovernanceEvent.EntityOrBuilder
Information about Entity resource that the log event is associated with.
Protobuf type google.cloud.dataplex.v1.GovernanceEvent.Entity
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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.Entity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GovernanceEvent.Entity build()
buildPartial()
public GovernanceEvent.Entity buildPartial()
clear()
public GovernanceEvent.Entity.Builder clear()
Overrides
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) = { ... }
clearEntityType()
public GovernanceEvent.Entity.Builder clearEntityType()
Type of entity.
.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2;
clearField(Descriptors.FieldDescriptor field)
public GovernanceEvent.Entity.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GovernanceEvent.Entity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GovernanceEvent.Entity.Builder clone()
Overrides
getDefaultInstanceForType()
public GovernanceEvent.Entity getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GovernanceEvent.Entity other)
public GovernanceEvent.Entity.Builder mergeFrom(GovernanceEvent.Entity other)
public GovernanceEvent.Entity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GovernanceEvent.Entity.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GovernanceEvent.Entity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 | String
The entity to set.
|
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 | ByteString
The bytes for entity to set.
|
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;
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 | int
The enum numeric value on the wire for entityType to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public GovernanceEvent.Entity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GovernanceEvent.Entity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GovernanceEvent.Entity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides