Package com.google.cloud.dataplex.v1
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 Summary
Modifier and TypeMethodDescriptionaddAllGenerationScopes(Iterable<? extends DataDocumentationSpec.GenerationScope> values) Optional.addAllGenerationScopesValue(Iterable<Integer> values) Optional.Optional.addGenerationScopesValue(int value) Optional.build()clear()Optional.Optional.booleanOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGenerationScopes(int index) Optional.intOptional.Optional.intgetGenerationScopesValue(int index) Optional.Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DataDocumentationSpec other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCatalogPublishingEnabled(boolean value) Optional.setGenerationScopes(int index, DataDocumentationSpec.GenerationScope value) Optional.setGenerationScopesValue(int index, int value) Optional.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<DataDocumentationSpec.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<DataDocumentationSpec.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<DataDocumentationSpec.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataDocumentationSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getCatalogPublishingEnabledin interfaceDataDocumentationSpecOrBuilder- Returns:
- The catalogPublishingEnabled.
-
setCatalogPublishingEnabled
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
Optional. Whether to publish result to Dataplex Catalog.
bool catalog_publishing_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
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:
getGenerationScopesListin interfaceDataDocumentationSpecOrBuilder- 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:
getGenerationScopesCountin interfaceDataDocumentationSpecOrBuilder- Returns:
- The count of generationScopes.
-
getGenerationScopes
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:
getGenerationScopesin interfaceDataDocumentationSpecOrBuilder- 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
public DataDocumentationSpec.Builder addGenerationScopes(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:
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
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
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:
getGenerationScopesValueListin interfaceDataDocumentationSpecOrBuilder- 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:
getGenerationScopesValuein interfaceDataDocumentationSpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of generationScopes at the given index.
-
setGenerationScopesValue
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
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
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.
-