Class DataDocumentationSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataDocumentationSpec.Builder>
com.google.cloud.dataplex.v1.DataDocumentationSpec.Builder
All Implemented Interfaces:
DataDocumentationSpecOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DataDocumentationSpec

public static final class DataDocumentationSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataDocumentationSpec.Builder> implements DataDocumentationSpecOrBuilder
 DataDocumentation scan related spec.
 
Protobuf type google.cloud.dataplex.v1.DataDocumentationSpec
  • 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<DataDocumentationSpec.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<DataDocumentationSpec.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<DataDocumentationSpec.Builder>
    • getDefaultInstanceForType

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

      public DataDocumentationSpec build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DataDocumentationSpec buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DataDocumentationSpec.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<DataDocumentationSpec.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<DataDocumentationSpec.Builder>
    • mergeFrom

      public DataDocumentationSpec.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<DataDocumentationSpec.Builder>
      Throws:
      IOException
    • getCatalogPublishingEnabled

      public boolean getCatalogPublishingEnabled()
       Optional. Whether to publish result to Dataplex Catalog.
       
      bool catalog_publishing_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCatalogPublishingEnabled in interface DataDocumentationSpecOrBuilder
      Returns:
      The catalogPublishingEnabled.
    • setCatalogPublishingEnabled

      public DataDocumentationSpec.Builder setCatalogPublishingEnabled(boolean value)
       Optional. Whether to publish result to Dataplex Catalog.
       
      bool catalog_publishing_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The catalogPublishingEnabled to set.
      Returns:
      This builder for chaining.
    • clearCatalogPublishingEnabled

      public DataDocumentationSpec.Builder clearCatalogPublishingEnabled()
       Optional. Whether to publish result to Dataplex Catalog.
       
      bool catalog_publishing_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getGenerationScopesList

      public List<DataDocumentationSpec.GenerationScope> getGenerationScopesList()
       Optional. Specifies which components of the data documentation to generate.
       Any component that is required to generate the specified components will
       also be generated. If no generation scope is specified, all available
       documentation components will be generated.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScope generation_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGenerationScopesList in interface DataDocumentationSpecOrBuilder
      Returns:
      A list containing the generationScopes.
    • getGenerationScopesCount

      public int getGenerationScopesCount()
       Optional. Specifies which components of the data documentation to generate.
       Any component that is required to generate the specified components will
       also be generated. If no generation scope is specified, all available
       documentation components will be generated.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScope generation_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGenerationScopesCount in interface DataDocumentationSpecOrBuilder
      Returns:
      The count of generationScopes.
    • getGenerationScopes

      public DataDocumentationSpec.GenerationScope getGenerationScopes(int index)
       Optional. Specifies which components of the data documentation to generate.
       Any component that is required to generate the specified components will
       also be generated. If no generation scope is specified, all available
       documentation components will be generated.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScope generation_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGenerationScopes in interface DataDocumentationSpecOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The generationScopes at the given index.
    • setGenerationScopes

      public DataDocumentationSpec.Builder setGenerationScopes(int index, DataDocumentationSpec.GenerationScope value)
       Optional. Specifies which components of the data documentation to generate.
       Any component that is required to generate the specified components will
       also be generated. If no generation scope is specified, all available
       documentation components will be generated.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScope generation_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The generationScopes to set.
      Returns:
      This builder for chaining.
    • addGenerationScopes

       Optional. Specifies which components of the data documentation to generate.
       Any component that is required to generate the specified components will
       also be generated. If no generation scope is specified, all available
       documentation components will be generated.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScope generation_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The generationScopes to add.
      Returns:
      This builder for chaining.
    • addAllGenerationScopes

      public DataDocumentationSpec.Builder addAllGenerationScopes(Iterable<? extends DataDocumentationSpec.GenerationScope> values)
       Optional. Specifies which components of the data documentation to generate.
       Any component that is required to generate the specified components will
       also be generated. If no generation scope is specified, all available
       documentation components will be generated.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScope generation_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The generationScopes to add.
      Returns:
      This builder for chaining.
    • clearGenerationScopes

      public DataDocumentationSpec.Builder clearGenerationScopes()
       Optional. Specifies which components of the data documentation to generate.
       Any component that is required to generate the specified components will
       also be generated. If no generation scope is specified, all available
       documentation components will be generated.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScope generation_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getGenerationScopesValueList

      public List<Integer> getGenerationScopesValueList()
       Optional. Specifies which components of the data documentation to generate.
       Any component that is required to generate the specified components will
       also be generated. If no generation scope is specified, all available
       documentation components will be generated.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScope generation_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGenerationScopesValueList in interface DataDocumentationSpecOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for generationScopes.
    • getGenerationScopesValue

      public int getGenerationScopesValue(int index)
       Optional. Specifies which components of the data documentation to generate.
       Any component that is required to generate the specified components will
       also be generated. If no generation scope is specified, all available
       documentation components will be generated.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScope generation_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGenerationScopesValue in interface DataDocumentationSpecOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of generationScopes at the given index.
    • setGenerationScopesValue

      public DataDocumentationSpec.Builder setGenerationScopesValue(int index, int value)
       Optional. Specifies which components of the data documentation to generate.
       Any component that is required to generate the specified components will
       also be generated. If no generation scope is specified, all available
       documentation components will be generated.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScope generation_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for generationScopes to set.
      Returns:
      This builder for chaining.
    • addGenerationScopesValue

      public DataDocumentationSpec.Builder addGenerationScopesValue(int value)
       Optional. Specifies which components of the data documentation to generate.
       Any component that is required to generate the specified components will
       also be generated. If no generation scope is specified, all available
       documentation components will be generated.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScope generation_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for generationScopes to add.
      Returns:
      This builder for chaining.
    • addAllGenerationScopesValue

      public DataDocumentationSpec.Builder addAllGenerationScopesValue(Iterable<Integer> values)
       Optional. Specifies which components of the data documentation to generate.
       Any component that is required to generate the specified components will
       also be generated. If no generation scope is specified, all available
       documentation components will be generated.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScope generation_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The enum numeric values on the wire for generationScopes to add.
      Returns:
      This builder for chaining.