Package com.google.cloud.dataplex.v1
Class DataDocumentationResult.SchemaRelationship.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataDocumentationResult.SchemaRelationship.Builder>
com.google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Builder
- All Implemented Interfaces:
DataDocumentationResult.SchemaRelationshipOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataDocumentationResult.SchemaRelationship
public static final class DataDocumentationResult.SchemaRelationship.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllSources(Iterable<? extends DataDocumentationResult.SchemaRelationship.Source> values) Output only.addAllSourcesValue(Iterable<Integer> values) Output only.Output only.addSourcesValue(int value) Output only.build()clear()Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.Output only.Output only.Output only.getSources(int index) Output only.intOutput only.Output only.intgetSourcesValue(int index) Output only.Output only.getType()Output only.intOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.Output only.Output only.Output only.Output only.setSources(int index, DataDocumentationResult.SchemaRelationship.Source value) Output only.setSourcesValue(int index, int value) Output only.Output only.setTypeValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataDocumentationResult.SchemaRelationship.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataDocumentationResult.SchemaRelationship.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataDocumentationResult.SchemaRelationship.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public DataDocumentationResult.SchemaRelationship.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataDocumentationResult.SchemaRelationship.Builder>
-
mergeFrom
public DataDocumentationResult.SchemaRelationship.Builder mergeFrom(DataDocumentationResult.SchemaRelationship other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataDocumentationResult.SchemaRelationship.Builder>
-
mergeFrom
public DataDocumentationResult.SchemaRelationship.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataDocumentationResult.SchemaRelationship.Builder>- Throws:
IOException
-
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];- Specified by:
hasLeftSchemaPathsin interfaceDataDocumentationResult.SchemaRelationshipOrBuilder- Returns:
- Whether the leftSchemaPaths field is set.
-
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];- Specified by:
getLeftSchemaPathsin interfaceDataDocumentationResult.SchemaRelationshipOrBuilder- Returns:
- The leftSchemaPaths.
-
setLeftSchemaPaths
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]; -
setLeftSchemaPaths
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]; -
mergeLeftSchemaPaths
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]; -
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]; -
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]; -
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];- Specified by:
getLeftSchemaPathsOrBuilderin interfaceDataDocumentationResult.SchemaRelationshipOrBuilder
-
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];- Specified by:
hasRightSchemaPathsin interfaceDataDocumentationResult.SchemaRelationshipOrBuilder- Returns:
- Whether the rightSchemaPaths field is set.
-
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];- Specified by:
getRightSchemaPathsin interfaceDataDocumentationResult.SchemaRelationshipOrBuilder- Returns:
- The rightSchemaPaths.
-
setRightSchemaPaths
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]; -
setRightSchemaPaths
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]; -
mergeRightSchemaPaths
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]; -
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]; -
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]; -
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];- Specified by:
getRightSchemaPathsOrBuilderin interfaceDataDocumentationResult.SchemaRelationshipOrBuilder
-
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];- Specified by:
getSourcesListin interfaceDataDocumentationResult.SchemaRelationshipOrBuilder- Returns:
- A list containing the sources.
-
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];- Specified by:
getSourcesCountin interfaceDataDocumentationResult.SchemaRelationshipOrBuilder- Returns:
- The count of sources.
-
getSources
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];- Specified by:
getSourcesin interfaceDataDocumentationResult.SchemaRelationshipOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sources at the given index.
-
setSources
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:
index- The index to set the value at.value- The sources to set.- Returns:
- This builder for chaining.
-
addSources
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];- Parameters:
value- The sources to add.- Returns:
- This builder for chaining.
-
addAllSources
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];- Parameters:
values- The sources to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getSourcesValueListin interfaceDataDocumentationResult.SchemaRelationshipOrBuilder- Returns:
- A list containing the enum numeric values on the wire for sources.
-
getSourcesValue
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];- Specified by:
getSourcesValuein interfaceDataDocumentationResult.SchemaRelationshipOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of sources at the given index.
-
setSourcesValue
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:
index- The index to set the value at.value- The enum numeric value on the wire for sources to set.- Returns:
- This builder for chaining.
-
addSourcesValue
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:
value- The enum numeric value on the wire for sources to add.- Returns:
- This builder for chaining.
-
addAllSourcesValue
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];- Parameters:
values- The enum numeric values on the wire for sources to add.- Returns:
- This builder for chaining.
-
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];- Specified by:
getTypeValuein interfaceDataDocumentationResult.SchemaRelationshipOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
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];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getTypein interfaceDataDocumentationResult.SchemaRelationshipOrBuilder- Returns:
- The type.
-
setType
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];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-