Class EntityReference.Builder (0.20.0)

public static final class EntityReference.Builder extends GeneratedMessageV3.Builder<EntityReference.Builder> implements EntityReferenceOrBuilder

The soft reference to everything you can attach a lineage event to.

Protobuf type google.cloud.datacatalog.lineage.v1.EntityReference

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntityReference build()
Returns
TypeDescription
EntityReference

buildPartial()

public EntityReference buildPartial()
Returns
TypeDescription
EntityReference

clear()

public EntityReference.Builder clear()
Returns
TypeDescription
EntityReference.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFullyQualifiedName()

public EntityReference.Builder clearFullyQualifiedName()

Required. Fully Qualified Name of the entity. Useful for referencing entities that aren't represented as GCP resources, for example, tables in Dataproc Metastore API.

Examples:

  • bigquery:dataset.project_id.dataset_id
  • bigquery:table.project_id.dataset_id.table_id
  • pubsub:project_id.topic_id
  • dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId

string fully_qualified_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EntityReference.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EntityReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EntityReference.Builder
Overrides

clone()

public EntityReference.Builder clone()
Returns
TypeDescription
EntityReference.Builder
Overrides

getDefaultInstanceForType()

public EntityReference getDefaultInstanceForType()
Returns
TypeDescription
EntityReference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFullyQualifiedName()

public String getFullyQualifiedName()

Required. Fully Qualified Name of the entity. Useful for referencing entities that aren't represented as GCP resources, for example, tables in Dataproc Metastore API.

Examples:

  • bigquery:dataset.project_id.dataset_id
  • bigquery:table.project_id.dataset_id.table_id
  • pubsub:project_id.topic_id
  • dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId

string fully_qualified_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The fullyQualifiedName.

getFullyQualifiedNameBytes()

public ByteString getFullyQualifiedNameBytes()

Required. Fully Qualified Name of the entity. Useful for referencing entities that aren't represented as GCP resources, for example, tables in Dataproc Metastore API.

Examples:

  • bigquery:dataset.project_id.dataset_id
  • bigquery:table.project_id.dataset_id.table_id
  • pubsub:project_id.topic_id
  • dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId

string fully_qualified_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for fullyQualifiedName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EntityReference other)

public EntityReference.Builder mergeFrom(EntityReference other)
Parameter
NameDescription
otherEntityReference
Returns
TypeDescription
EntityReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntityReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EntityReference.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public EntityReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EntityReference.Builder
Overrides

setFullyQualifiedName(String value)

public EntityReference.Builder setFullyQualifiedName(String value)

Required. Fully Qualified Name of the entity. Useful for referencing entities that aren't represented as GCP resources, for example, tables in Dataproc Metastore API.

Examples:

  • bigquery:dataset.project_id.dataset_id
  • bigquery:table.project_id.dataset_id.table_id
  • pubsub:project_id.topic_id
  • dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId

string fully_qualified_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The fullyQualifiedName to set.

Returns
TypeDescription
EntityReference.Builder

This builder for chaining.

setFullyQualifiedNameBytes(ByteString value)

public EntityReference.Builder setFullyQualifiedNameBytes(ByteString value)

Required. Fully Qualified Name of the entity. Useful for referencing entities that aren't represented as GCP resources, for example, tables in Dataproc Metastore API.

Examples:

  • bigquery:dataset.project_id.dataset_id
  • bigquery:table.project_id.dataset_id.table_id
  • pubsub:project_id.topic_id
  • dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId

string fully_qualified_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for fullyQualifiedName to set.

Returns
TypeDescription
EntityReference.Builder

This builder for chaining.

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

public EntityReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EntityReference.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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