public static final class Context.SchemaRelationship extends GeneratedMessage 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.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Context.SchemaRelationship.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Context.SchemaRelationship.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Context.SchemaRelationship.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides