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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DataDocumentationResult.SchemaRelationship.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DataDocumentationResult.SchemaRelationship.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DataDocumentationResult.SchemaRelationship.Builder>
    • getDefaultInstanceForType

      public DataDocumentationResult.SchemaRelationship getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DataDocumentationResult.SchemaRelationship.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataDocumentationResult.SchemaRelationship.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasLeftSchemaPaths in interface DataDocumentationResult.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:
      getLeftSchemaPaths in interface DataDocumentationResult.SchemaRelationshipOrBuilder
      Returns:
      The leftSchemaPaths.
    • setLeftSchemaPaths

       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

       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

       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

       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:
      getLeftSchemaPathsOrBuilder in interface DataDocumentationResult.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:
      hasRightSchemaPaths in interface DataDocumentationResult.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:
      getRightSchemaPaths in interface DataDocumentationResult.SchemaRelationshipOrBuilder
      Returns:
      The rightSchemaPaths.
    • setRightSchemaPaths

       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

       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

       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

       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:
      getRightSchemaPathsOrBuilder in interface DataDocumentationResult.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:
      getSourcesList in interface DataDocumentationResult.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:
      getSourcesCount in interface DataDocumentationResult.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:
      getSources in interface DataDocumentationResult.SchemaRelationshipOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The sources at the given index.
    • setSources

       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

       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

       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

      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];
      Specified by:
      getSourcesValueList in interface DataDocumentationResult.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:
      getSourcesValue in interface DataDocumentationResult.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

      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:
      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

      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];
      Parameters:
      value - The enum numeric value on the wire for sources to add.
      Returns:
      This builder for chaining.
    • addAllSourcesValue

       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:
      getTypeValue in interface DataDocumentationResult.SchemaRelationshipOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      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];
      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:
      getType in interface DataDocumentationResult.SchemaRelationshipOrBuilder
      Returns:
      The type.
    • setType

       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.