Class DataDocumentationResult.SchemaRelationship.Builder (1.89.0)

public static final class DataDocumentationResult.SchemaRelationship.Builder extends GeneratedMessage.Builder<DataDocumentationResult.SchemaRelationship.Builder> implements DataDocumentationResult.SchemaRelationshipOrBuilder

Details of the relationship between the schema of two resources.

Protobuf type google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship

Static Methods

getDescriptor()

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

Methods

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

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

Output only. Sources which generated the schema relation edge.

repeated .google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source sources = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source>

The sources to add.

Returns
Type Description
DataDocumentationResult.SchemaRelationship.Builder

This builder for chaining.

addAllSourcesValue(Iterable<Integer> values)

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

Output only. Sources which generated the schema relation edge.

repeated .google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source sources = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<Integer>

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

Returns
Type Description
DataDocumentationResult.SchemaRelationship.Builder

This builder for chaining.

addSources(DataDocumentationResult.SchemaRelationship.Source value)

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

Output only. Sources which generated the schema relation edge.

repeated .google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source sources = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataDocumentationResult.SchemaRelationship.Source

The sources to add.

Returns
Type Description
DataDocumentationResult.SchemaRelationship.Builder

This builder for chaining.

addSourcesValue(int value)

public DataDocumentationResult.SchemaRelationship.Builder addSourcesValue(int value)

Output only. Sources which generated the schema relation edge.

repeated .google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source sources = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
DataDocumentationResult.SchemaRelationship.Builder

This builder for chaining.

build()

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

buildPartial()

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

clear()

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

clearLeftSchemaPaths()

public DataDocumentationResult.SchemaRelationship.Builder clearLeftSchemaPaths()

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths left_schema_paths = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataDocumentationResult.SchemaRelationship.Builder

clearRightSchemaPaths()

public DataDocumentationResult.SchemaRelationship.Builder clearRightSchemaPaths()

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths right_schema_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataDocumentationResult.SchemaRelationship.Builder

clearSources()

public DataDocumentationResult.SchemaRelationship.Builder clearSources()

Output only. Sources which generated the schema relation edge.

repeated .google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source sources = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataDocumentationResult.SchemaRelationship.Builder

This builder for chaining.

clearType()

public DataDocumentationResult.SchemaRelationship.Builder clearType()

Output only. The type of relationship between the schema paths.

.google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Type type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataDocumentationResult.SchemaRelationship.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getLeftSchemaPaths()

public DataDocumentationResult.SchemaRelationship.SchemaPaths getLeftSchemaPaths()

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths left_schema_paths = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataDocumentationResult.SchemaRelationship.SchemaPaths

The leftSchemaPaths.

getLeftSchemaPathsBuilder()

public DataDocumentationResult.SchemaRelationship.SchemaPaths.Builder getLeftSchemaPathsBuilder()

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths left_schema_paths = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataDocumentationResult.SchemaRelationship.SchemaPaths.Builder

getLeftSchemaPathsOrBuilder()

public DataDocumentationResult.SchemaRelationship.SchemaPathsOrBuilder getLeftSchemaPathsOrBuilder()

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths left_schema_paths = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataDocumentationResult.SchemaRelationship.SchemaPathsOrBuilder

getRightSchemaPaths()

public DataDocumentationResult.SchemaRelationship.SchemaPaths getRightSchemaPaths()

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths right_schema_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataDocumentationResult.SchemaRelationship.SchemaPaths

The rightSchemaPaths.

getRightSchemaPathsBuilder()

public DataDocumentationResult.SchemaRelationship.SchemaPaths.Builder getRightSchemaPathsBuilder()

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths right_schema_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataDocumentationResult.SchemaRelationship.SchemaPaths.Builder

getRightSchemaPathsOrBuilder()

public DataDocumentationResult.SchemaRelationship.SchemaPathsOrBuilder getRightSchemaPathsOrBuilder()

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths right_schema_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataDocumentationResult.SchemaRelationship.SchemaPathsOrBuilder

getSources(int index)

public DataDocumentationResult.SchemaRelationship.Source getSources(int index)

Output only. Sources which generated the schema relation edge.

repeated .google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source sources = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
DataDocumentationResult.SchemaRelationship.Source

The sources at the given index.

getSourcesCount()

public int getSourcesCount()

Output only. Sources which generated the schema relation edge.

repeated .google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source sources = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of sources.

getSourcesList()

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

Output only. Sources which generated the schema relation edge.

repeated .google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source sources = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Source>

A list containing the sources.

getSourcesValue(int index)

public int getSourcesValue(int index)

Output only. Sources which generated the schema relation edge.

repeated .google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source sources = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

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()

Output only. Sources which generated the schema relation edge.

repeated .google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source sources = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

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

getType()

public DataDocumentationResult.SchemaRelationship.Type getType()

Output only. The type of relationship between the schema paths.

.google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Type type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataDocumentationResult.SchemaRelationship.Type

The type.

getTypeValue()

public int getTypeValue()

Output only. The type of relationship between the schema paths.

.google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Type type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

hasLeftSchemaPaths()

public boolean hasLeftSchemaPaths()

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths left_schema_paths = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the leftSchemaPaths field is set.

hasRightSchemaPaths()

public boolean hasRightSchemaPaths()

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths right_schema_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the rightSchemaPaths field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataDocumentationResult.SchemaRelationship other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLeftSchemaPaths(DataDocumentationResult.SchemaRelationship.SchemaPaths value)

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

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths left_schema_paths = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

mergeRightSchemaPaths(DataDocumentationResult.SchemaRelationship.SchemaPaths value)

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

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths right_schema_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setLeftSchemaPaths(DataDocumentationResult.SchemaRelationship.SchemaPaths value)

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

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths left_schema_paths = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setLeftSchemaPaths(DataDocumentationResult.SchemaRelationship.SchemaPaths.Builder builderForValue)

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

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths left_schema_paths = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setRightSchemaPaths(DataDocumentationResult.SchemaRelationship.SchemaPaths value)

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

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths right_schema_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setRightSchemaPaths(DataDocumentationResult.SchemaRelationship.SchemaPaths.Builder builderForValue)

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

Output only. 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.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths right_schema_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

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

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

Output only. Sources which generated the schema relation edge.

repeated .google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source sources = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value DataDocumentationResult.SchemaRelationship.Source

The sources to set.

Returns
Type Description
DataDocumentationResult.SchemaRelationship.Builder

This builder for chaining.

setSourcesValue(int index, int value)

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

Output only. Sources which generated the schema relation edge.

repeated .google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source sources = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

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
DataDocumentationResult.SchemaRelationship.Builder

This builder for chaining.

setType(DataDocumentationResult.SchemaRelationship.Type value)

public DataDocumentationResult.SchemaRelationship.Builder setType(DataDocumentationResult.SchemaRelationship.Type value)

Output only. The type of relationship between the schema paths.

.google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Type type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataDocumentationResult.SchemaRelationship.Type

The type to set.

Returns
Type Description
DataDocumentationResult.SchemaRelationship.Builder

This builder for chaining.

setTypeValue(int value)

public DataDocumentationResult.SchemaRelationship.Builder setTypeValue(int value)

Output only. The type of relationship between the schema paths.

.google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Type type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
DataDocumentationResult.SchemaRelationship.Builder

This builder for chaining.