public static final class DiscoveryEvent.EntityDetails.Builder extends GeneratedMessage.Builder<DiscoveryEvent.EntityDetails.Builder> implements DiscoveryEvent.EntityDetailsOrBuilderDetails about the entity.
Protobuf type google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DiscoveryEvent.EntityDetails.BuilderImplements
DiscoveryEvent.EntityDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DiscoveryEvent.EntityDetails build()| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityDetails |
|
buildPartial()
public DiscoveryEvent.EntityDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityDetails |
|
clear()
public DiscoveryEvent.EntityDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityDetails.Builder |
|
clearEntity()
public DiscoveryEvent.EntityDetails.Builder clearEntity()The name of the entity resource. The name is the fully-qualified resource name.
string entity = 1;
| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityDetails.Builder |
This builder for chaining. |
clearType()
public DiscoveryEvent.EntityDetails.Builder clearType()The type of the entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityDetails.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DiscoveryEvent.EntityDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEntity()
public String getEntity()The name of the entity resource. The name is the fully-qualified resource name.
string entity = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The entity. |
getEntityBytes()
public ByteString getEntityBytes()The name of the entity resource. The name is the fully-qualified resource name.
string entity = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for entity. |
getType()
public DiscoveryEvent.EntityType getType()The type of the entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityType |
The type. |
getTypeValue()
public int getTypeValue()The type of the entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DiscoveryEvent.EntityDetails other)
public DiscoveryEvent.EntityDetails.Builder mergeFrom(DiscoveryEvent.EntityDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
DiscoveryEvent.EntityDetails |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiscoveryEvent.EntityDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DiscoveryEvent.EntityDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityDetails.Builder |
|
setEntity(String value)
public DiscoveryEvent.EntityDetails.Builder setEntity(String value)The name of the entity resource. The name is the fully-qualified resource name.
string entity = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe entity to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityDetails.Builder |
This builder for chaining. |
setEntityBytes(ByteString value)
public DiscoveryEvent.EntityDetails.Builder setEntityBytes(ByteString value)The name of the entity resource. The name is the fully-qualified resource name.
string entity = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for entity to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityDetails.Builder |
This builder for chaining. |
setType(DiscoveryEvent.EntityType value)
public DiscoveryEvent.EntityDetails.Builder setType(DiscoveryEvent.EntityType value)The type of the entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DiscoveryEvent.EntityTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityDetails.Builder |
This builder for chaining. |
setTypeValue(int value)
public DiscoveryEvent.EntityDetails.Builder setTypeValue(int value)The type of the entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryEvent.EntityDetails.Builder |
This builder for chaining. |