Class DiscoveryEvent.EntityDetails.Builder (1.47.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryEvent.EntityDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiscoveryEvent.EntityDetails.Builder
Overrides

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
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
Type Description
DiscoveryEvent.EntityDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DiscoveryEvent.EntityDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DiscoveryEvent.EntityDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoveryEvent.EntityDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DiscoveryEvent.EntityDetails.Builder
Overrides

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.

clone()

public DiscoveryEvent.EntityDetails.Builder clone()
Returns
Type Description
DiscoveryEvent.EntityDetails.Builder
Overrides

getDefaultInstanceForType()

public DiscoveryEvent.EntityDetails getDefaultInstanceForType()
Returns
Type Description
DiscoveryEvent.EntityDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryEvent.EntityDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiscoveryEvent.EntityDetails.Builder
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
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 ByteString

The bytes for entity to set.

Returns
Type Description
DiscoveryEvent.EntityDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryEvent.EntityDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiscoveryEvent.EntityDetails.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DiscoveryEvent.EntityDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DiscoveryEvent.EntityDetails.Builder
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
Name Description
value DiscoveryEvent.EntityType

The 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 int

The enum numeric value on the wire for type to set.

Returns
Type Description
DiscoveryEvent.EntityDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryEvent.EntityDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiscoveryEvent.EntityDetails.Builder
Overrides