Send feedback
Class Context.SchemaRelationship (0.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class Context . SchemaRelationship extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONFIDENCE_SCORE_FIELD_NUMBER
public static final int CONFIDENCE_SCORE_FIELD_NUMBER
Field Value
Type
Description
int
LEFT_SCHEMA_PATHS_FIELD_NUMBER
public static final int LEFT_SCHEMA_PATHS_FIELD_NUMBER
Field Value
Type
Description
int
RIGHT_SCHEMA_PATHS_FIELD_NUMBER
public static final int RIGHT_SCHEMA_PATHS_FIELD_NUMBER
Field Value
Type
Description
int
SOURCES_FIELD_NUMBER
public static final int SOURCES_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Context . SchemaRelationship getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Context . SchemaRelationship . Builder newBuilder ()
newBuilder(Context.SchemaRelationship prototype)
public static Context . SchemaRelationship . Builder newBuilder ( Context . SchemaRelationship prototype )
parseDelimitedFrom(InputStream input)
public static Context . SchemaRelationship parseDelimitedFrom ( InputStream input )
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Context . SchemaRelationship parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Context . SchemaRelationship parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Context . SchemaRelationship parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Context . SchemaRelationship parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Context . SchemaRelationship parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
parseFrom(CodedInputStream input)
public static Context . SchemaRelationship parseFrom ( CodedInputStream input )
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Context . SchemaRelationship parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(InputStream input)
public static Context . SchemaRelationship parseFrom ( InputStream input )
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Context . SchemaRelationship parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Context . SchemaRelationship parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Context . SchemaRelationship parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Context . SchemaRelationship > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
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 ()
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;
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;
getParserForType()
public Parser<Context . SchemaRelationship > getParserForType ()
Overrides
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;
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;
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Context . SchemaRelationship . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Context . SchemaRelationship . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Context . SchemaRelationship . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-18 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-18 UTC."],[],[]]