public static final class DiscoveryEvent.EntityDetails.Builder extends GeneratedMessageV3.Builder<DiscoveryEvent.EntityDetails.Builder> implements DiscoveryEvent.EntityDetailsOrBuilder
Details about the entity.
Protobuf type google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryEvent.EntityDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DiscoveryEvent.EntityDetails build()
Returns
buildPartial()
public DiscoveryEvent.EntityDetails buildPartial()
Returns
clear()
public DiscoveryEvent.EntityDetails.Builder clear()
Returns
Overrides
clearEntity()
public DiscoveryEvent.EntityDetails.Builder clearEntity()
The name of the entity resource.
The name is the fully-qualified resource name.
string entity = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public DiscoveryEvent.EntityDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveryEvent.EntityDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearType()
public DiscoveryEvent.EntityDetails.Builder clearType()
The type of the entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
Returns
clone()
public DiscoveryEvent.EntityDetails.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DiscoveryEvent.EntityDetails getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getType()
public DiscoveryEvent.EntityType getType()
The type of the entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DiscoveryEvent.EntityDetails other)
public DiscoveryEvent.EntityDetails.Builder mergeFrom(DiscoveryEvent.EntityDetails other)
Parameter
Returns
public DiscoveryEvent.EntityDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DiscoveryEvent.EntityDetails.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryEvent.EntityDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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 | String
The entity to set.
|
Returns
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 | ByteString
The bytes for entity to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryEvent.EntityDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveryEvent.EntityDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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 | int
The enum numeric value on the wire for type to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryEvent.EntityDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides