Class Context.SchemaRelationship.Builder (0.9.0)

public static final class Context.SchemaRelationship.Builder extends GeneratedMessageV3.Builder<Context.SchemaRelationship.Builder> implements Context.SchemaRelationshipOrBuilder

The relationship between two tables, including referencing and referenced columns. This is a derived context retrieved from Dataplex Dataset Insights.

Protobuf type google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSources(Iterable<? extends Context.SchemaRelationship.Source> values)

public Context.SchemaRelationship.Builder addAllSources(Iterable<? extends Context.SchemaRelationship.Source> values)

Sources which generated the schema relation edge.

repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source>

The sources to add.

Returns
Type Description
Context.SchemaRelationship.Builder

This builder for chaining.

addAllSourcesValue(Iterable<Integer> values)

public Context.SchemaRelationship.Builder addAllSourcesValue(Iterable<Integer> values)

Sources which generated the schema relation edge.

repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for sources to add.

Returns
Type Description
Context.SchemaRelationship.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSources(Context.SchemaRelationship.Source value)

public Context.SchemaRelationship.Builder addSources(Context.SchemaRelationship.Source value)

Sources which generated the schema relation edge.

repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;

Parameter
Name Description
value Context.SchemaRelationship.Source

The sources to add.

Returns
Type Description
Context.SchemaRelationship.Builder

This builder for chaining.

addSourcesValue(int value)

public Context.SchemaRelationship.Builder addSourcesValue(int value)

Sources which generated the schema relation edge.

repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for sources to add.

Returns
Type Description
Context.SchemaRelationship.Builder

This builder for chaining.

build()

public Context.SchemaRelationship build()
Returns
Type Description
Context.SchemaRelationship

buildPartial()

public Context.SchemaRelationship buildPartial()
Returns
Type Description
Context.SchemaRelationship

clear()

public Context.SchemaRelationship.Builder clear()
Returns
Type Description
Context.SchemaRelationship.Builder
Overrides

clearConfidenceScore()

public Context.SchemaRelationship.Builder clearConfidenceScore()

A confidence score for the suggested relationship. Manually added edges have the highest confidence score.

float confidence_score = 4;

Returns
Type Description
Context.SchemaRelationship.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Context.SchemaRelationship.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Context.SchemaRelationship.Builder
Overrides

clearLeftSchemaPaths()

public Context.SchemaRelationship.Builder clearLeftSchemaPaths()

An ordered list of fields for the join from the first table. The size of this list must be the same as right_schema_paths. Each field at index i in this list must correspond to a field at the same index in the right_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths left_schema_paths = 1;

Returns
Type Description
Context.SchemaRelationship.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Context.SchemaRelationship.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Context.SchemaRelationship.Builder
Overrides

clearRightSchemaPaths()

public Context.SchemaRelationship.Builder clearRightSchemaPaths()

An ordered list of fields for the join from the second table. The size of this list must be the same as left_schema_paths. Each field at index i in this list must correspond to a field at the same index in the left_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths right_schema_paths = 2;

Returns
Type Description
Context.SchemaRelationship.Builder

clearSources()

public Context.SchemaRelationship.Builder clearSources()

Sources which generated the schema relation edge.

repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;

Returns
Type Description
Context.SchemaRelationship.Builder

This builder for chaining.

clone()

public Context.SchemaRelationship.Builder clone()
Returns
Type Description
Context.SchemaRelationship.Builder
Overrides

getConfidenceScore()

public float getConfidenceScore()

A confidence score for the suggested relationship. Manually added edges have the highest confidence score.

float confidence_score = 4;

Returns
Type Description
float

The confidenceScore.

getDefaultInstanceForType()

public Context.SchemaRelationship getDefaultInstanceForType()
Returns
Type Description
Context.SchemaRelationship

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLeftSchemaPaths()

public Context.SchemaRelationship.SchemaPaths getLeftSchemaPaths()

An ordered list of fields for the join from the first table. The size of this list must be the same as right_schema_paths. Each field at index i in this list must correspond to a field at the same index in the right_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths left_schema_paths = 1;

Returns
Type Description
Context.SchemaRelationship.SchemaPaths

The leftSchemaPaths.

getLeftSchemaPathsBuilder()

public Context.SchemaRelationship.SchemaPaths.Builder getLeftSchemaPathsBuilder()

An ordered list of fields for the join from the first table. The size of this list must be the same as right_schema_paths. Each field at index i in this list must correspond to a field at the same index in the right_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths left_schema_paths = 1;

Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder

getLeftSchemaPathsOrBuilder()

public Context.SchemaRelationship.SchemaPathsOrBuilder getLeftSchemaPathsOrBuilder()

An ordered list of fields for the join from the first table. The size of this list must be the same as right_schema_paths. Each field at index i in this list must correspond to a field at the same index in the right_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths left_schema_paths = 1;

Returns
Type Description
Context.SchemaRelationship.SchemaPathsOrBuilder

getRightSchemaPaths()

public Context.SchemaRelationship.SchemaPaths getRightSchemaPaths()

An ordered list of fields for the join from the second table. The size of this list must be the same as left_schema_paths. Each field at index i in this list must correspond to a field at the same index in the left_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths right_schema_paths = 2;

Returns
Type Description
Context.SchemaRelationship.SchemaPaths

The rightSchemaPaths.

getRightSchemaPathsBuilder()

public Context.SchemaRelationship.SchemaPaths.Builder getRightSchemaPathsBuilder()

An ordered list of fields for the join from the second table. The size of this list must be the same as left_schema_paths. Each field at index i in this list must correspond to a field at the same index in the left_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths right_schema_paths = 2;

Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder

getRightSchemaPathsOrBuilder()

public Context.SchemaRelationship.SchemaPathsOrBuilder getRightSchemaPathsOrBuilder()

An ordered list of fields for the join from the second table. The size of this list must be the same as left_schema_paths. Each field at index i in this list must correspond to a field at the same index in the left_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths right_schema_paths = 2;

Returns
Type Description
Context.SchemaRelationship.SchemaPathsOrBuilder

getSources(int index)

public Context.SchemaRelationship.Source getSources(int index)

Sources which generated the schema relation edge.

repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
Context.SchemaRelationship.Source

The sources at the given index.

getSourcesCount()

public int getSourcesCount()

Sources which generated the schema relation edge.

repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;

Returns
Type Description
int

The count of sources.

getSourcesList()

public List<Context.SchemaRelationship.Source> getSourcesList()

Sources which generated the schema relation edge.

repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;

Returns
Type Description
List<Source>

A list containing the sources.

getSourcesValue(int index)

public int getSourcesValue(int index)

Sources which generated the schema relation edge.

repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of sources at the given index.

getSourcesValueList()

public List<Integer> getSourcesValueList()

Sources which generated the schema relation edge.

repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for sources.

hasLeftSchemaPaths()

public boolean hasLeftSchemaPaths()

An ordered list of fields for the join from the first table. The size of this list must be the same as right_schema_paths. Each field at index i in this list must correspond to a field at the same index in the right_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths left_schema_paths = 1;

Returns
Type Description
boolean

Whether the leftSchemaPaths field is set.

hasRightSchemaPaths()

public boolean hasRightSchemaPaths()

An ordered list of fields for the join from the second table. The size of this list must be the same as left_schema_paths. Each field at index i in this list must correspond to a field at the same index in the left_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths right_schema_paths = 2;

Returns
Type Description
boolean

Whether the rightSchemaPaths field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Context.SchemaRelationship other)

public Context.SchemaRelationship.Builder mergeFrom(Context.SchemaRelationship other)
Parameter
Name Description
other Context.SchemaRelationship
Returns
Type Description
Context.SchemaRelationship.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Context.SchemaRelationship.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Context.SchemaRelationship.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Context.SchemaRelationship.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Context.SchemaRelationship.Builder
Overrides

mergeLeftSchemaPaths(Context.SchemaRelationship.SchemaPaths value)

public Context.SchemaRelationship.Builder mergeLeftSchemaPaths(Context.SchemaRelationship.SchemaPaths value)

An ordered list of fields for the join from the first table. The size of this list must be the same as right_schema_paths. Each field at index i in this list must correspond to a field at the same index in the right_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths left_schema_paths = 1;

Parameter
Name Description
value Context.SchemaRelationship.SchemaPaths
Returns
Type Description
Context.SchemaRelationship.Builder

mergeRightSchemaPaths(Context.SchemaRelationship.SchemaPaths value)

public Context.SchemaRelationship.Builder mergeRightSchemaPaths(Context.SchemaRelationship.SchemaPaths value)

An ordered list of fields for the join from the second table. The size of this list must be the same as left_schema_paths. Each field at index i in this list must correspond to a field at the same index in the left_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths right_schema_paths = 2;

Parameter
Name Description
value Context.SchemaRelationship.SchemaPaths
Returns
Type Description
Context.SchemaRelationship.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Context.SchemaRelationship.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Context.SchemaRelationship.Builder
Overrides

setConfidenceScore(float value)

public Context.SchemaRelationship.Builder setConfidenceScore(float value)

A confidence score for the suggested relationship. Manually added edges have the highest confidence score.

float confidence_score = 4;

Parameter
Name Description
value float

The confidenceScore to set.

Returns
Type Description
Context.SchemaRelationship.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLeftSchemaPaths(Context.SchemaRelationship.SchemaPaths value)

public Context.SchemaRelationship.Builder setLeftSchemaPaths(Context.SchemaRelationship.SchemaPaths value)

An ordered list of fields for the join from the first table. The size of this list must be the same as right_schema_paths. Each field at index i in this list must correspond to a field at the same index in the right_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths left_schema_paths = 1;

Parameter
Name Description
value Context.SchemaRelationship.SchemaPaths
Returns
Type Description
Context.SchemaRelationship.Builder

setLeftSchemaPaths(Context.SchemaRelationship.SchemaPaths.Builder builderForValue)

public Context.SchemaRelationship.Builder setLeftSchemaPaths(Context.SchemaRelationship.SchemaPaths.Builder builderForValue)

An ordered list of fields for the join from the first table. The size of this list must be the same as right_schema_paths. Each field at index i in this list must correspond to a field at the same index in the right_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths left_schema_paths = 1;

Parameter
Name Description
builderForValue Context.SchemaRelationship.SchemaPaths.Builder
Returns
Type Description
Context.SchemaRelationship.Builder

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

public Context.SchemaRelationship.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Context.SchemaRelationship.Builder
Overrides

setRightSchemaPaths(Context.SchemaRelationship.SchemaPaths value)

public Context.SchemaRelationship.Builder setRightSchemaPaths(Context.SchemaRelationship.SchemaPaths value)

An ordered list of fields for the join from the second table. The size of this list must be the same as left_schema_paths. Each field at index i in this list must correspond to a field at the same index in the left_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths right_schema_paths = 2;

Parameter
Name Description
value Context.SchemaRelationship.SchemaPaths
Returns
Type Description
Context.SchemaRelationship.Builder

setRightSchemaPaths(Context.SchemaRelationship.SchemaPaths.Builder builderForValue)

public Context.SchemaRelationship.Builder setRightSchemaPaths(Context.SchemaRelationship.SchemaPaths.Builder builderForValue)

An ordered list of fields for the join from the second table. The size of this list must be the same as left_schema_paths. Each field at index i in this list must correspond to a field at the same index in the left_schema_paths list.

.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths right_schema_paths = 2;

Parameter
Name Description
builderForValue Context.SchemaRelationship.SchemaPaths.Builder
Returns
Type Description
Context.SchemaRelationship.Builder

setSources(int index, Context.SchemaRelationship.Source value)

public Context.SchemaRelationship.Builder setSources(int index, Context.SchemaRelationship.Source value)

Sources which generated the schema relation edge.

repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;

Parameters
Name Description
index int

The index to set the value at.

value Context.SchemaRelationship.Source

The sources to set.

Returns
Type Description
Context.SchemaRelationship.Builder

This builder for chaining.

setSourcesValue(int index, int value)

public Context.SchemaRelationship.Builder setSourcesValue(int index, int value)

Sources which generated the schema relation edge.

repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;

Parameters
Name Description
index int

The index to set the value at.

value int

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

Returns
Type Description
Context.SchemaRelationship.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Context.SchemaRelationship.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Context.SchemaRelationship.Builder
Overrides