Class DiscoveryEvent.EntityDetails.Builder (1.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryEvent.EntityDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiscoveryEvent.EntityDetails.Builder
Overrides

build()

public DiscoveryEvent.EntityDetails build()
Returns
TypeDescription
DiscoveryEvent.EntityDetails

buildPartial()

public DiscoveryEvent.EntityDetails buildPartial()
Returns
TypeDescription
DiscoveryEvent.EntityDetails

clear()

public DiscoveryEvent.EntityDetails.Builder clear()
Returns
TypeDescription
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
TypeDescription
DiscoveryEvent.EntityDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DiscoveryEvent.EntityDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DiscoveryEvent.EntityDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoveryEvent.EntityDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DiscoveryEvent.EntityDetails.Builder

This builder for chaining.

clone()

public DiscoveryEvent.EntityDetails.Builder clone()
Returns
TypeDescription
DiscoveryEvent.EntityDetails.Builder
Overrides

getDefaultInstanceForType()

public DiscoveryEvent.EntityDetails getDefaultInstanceForType()
Returns
TypeDescription
DiscoveryEvent.EntityDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntity()

public String getEntity()

The name of the entity resource. The name is the fully-qualified resource name.

string entity = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DiscoveryEvent.EntityType

The type.

getTypeValue()

public int getTypeValue()

The type of the entity resource.

.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DiscoveryEvent.EntityDetails other)

public DiscoveryEvent.EntityDetails.Builder mergeFrom(DiscoveryEvent.EntityDetails other)
Parameter
NameDescription
otherDiscoveryEvent.EntityDetails
Returns
TypeDescription
DiscoveryEvent.EntityDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryEvent.EntityDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryEvent.EntityDetails.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DiscoveryEvent.EntityDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DiscoveryEvent.EntityDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryEvent.EntityDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The entity to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for entity to set.

Returns
TypeDescription
DiscoveryEvent.EntityDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryEvent.EntityDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueDiscoveryEvent.EntityType

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
DiscoveryEvent.EntityDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryEvent.EntityDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoveryEvent.EntityDetails.Builder
Overrides