Package com.google.cloud.dataplex.v1
Class Task.NotebookTaskConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Task.NotebookTaskConfig.Builder>
com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder
- All Implemented Interfaces:
Task.NotebookTaskConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Task.NotebookTaskConfig
public static final class Task.NotebookTaskConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Task.NotebookTaskConfig.Builder>
implements Task.NotebookTaskConfigOrBuilder
Config for running scheduled notebooks.Protobuf type
google.cloud.dataplex.v1.Task.NotebookTaskConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllArchiveUris(Iterable<String> values) Optional.addAllFileUris(Iterable<String> values) Optional.addArchiveUris(String value) Optional.addArchiveUrisBytes(com.google.protobuf.ByteString value) Optional.addFileUris(String value) Optional.addFileUrisBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.Required.getArchiveUris(int index) Optional.com.google.protobuf.ByteStringgetArchiveUrisBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFileUris(int index) Optional.com.google.protobuf.ByteStringgetFileUrisBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Optional.Optional.Optional.Required.com.google.protobuf.ByteStringRequired.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Task.NotebookTaskConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.setArchiveUris(int index, String value) Optional.setFileUris(int index, String value) Optional.Optional.setInfrastructureSpec(Task.InfrastructureSpec.Builder builderForValue) Optional.setNotebook(String value) Required.setNotebookBytes(com.google.protobuf.ByteString value) Required.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<Task.NotebookTaskConfig.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<Task.NotebookTaskConfig.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<Task.NotebookTaskConfig.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<Task.NotebookTaskConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Task.NotebookTaskConfig.Builder>
-
mergeFrom
public Task.NotebookTaskConfig.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<Task.NotebookTaskConfig.Builder>- Throws:
IOException
-
getNotebook
Required. Path to input notebook. This can be the Cloud Storage URI of the notebook file or the path to a Notebook Content. The execution args are accessible as environment variables (`TASK_key=value`).
string notebook = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNotebookin interfaceTask.NotebookTaskConfigOrBuilder- Returns:
- The notebook.
-
getNotebookBytes
public com.google.protobuf.ByteString getNotebookBytes()Required. Path to input notebook. This can be the Cloud Storage URI of the notebook file or the path to a Notebook Content. The execution args are accessible as environment variables (`TASK_key=value`).
string notebook = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNotebookBytesin interfaceTask.NotebookTaskConfigOrBuilder- Returns:
- The bytes for notebook.
-
setNotebook
Required. Path to input notebook. This can be the Cloud Storage URI of the notebook file or the path to a Notebook Content. The execution args are accessible as environment variables (`TASK_key=value`).
string notebook = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The notebook to set.- Returns:
- This builder for chaining.
-
clearNotebook
Required. Path to input notebook. This can be the Cloud Storage URI of the notebook file or the path to a Notebook Content. The execution args are accessible as environment variables (`TASK_key=value`).
string notebook = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNotebookBytes
Required. Path to input notebook. This can be the Cloud Storage URI of the notebook file or the path to a Notebook Content. The execution args are accessible as environment variables (`TASK_key=value`).
string notebook = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for notebook to set.- Returns:
- This builder for chaining.
-
hasInfrastructureSpec
public boolean hasInfrastructureSpec()Optional. Infrastructure specification for the execution.
.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasInfrastructureSpecin interfaceTask.NotebookTaskConfigOrBuilder- Returns:
- Whether the infrastructureSpec field is set.
-
getInfrastructureSpec
Optional. Infrastructure specification for the execution.
.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInfrastructureSpecin interfaceTask.NotebookTaskConfigOrBuilder- Returns:
- The infrastructureSpec.
-
setInfrastructureSpec
Optional. Infrastructure specification for the execution.
.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setInfrastructureSpec
public Task.NotebookTaskConfig.Builder setInfrastructureSpec(Task.InfrastructureSpec.Builder builderForValue) Optional. Infrastructure specification for the execution.
.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeInfrastructureSpec
Optional. Infrastructure specification for the execution.
.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearInfrastructureSpec
Optional. Infrastructure specification for the execution.
.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getInfrastructureSpecBuilder
Optional. Infrastructure specification for the execution.
.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getInfrastructureSpecOrBuilder
Optional. Infrastructure specification for the execution.
.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInfrastructureSpecOrBuilderin interfaceTask.NotebookTaskConfigOrBuilder
-
getFileUrisList
public com.google.protobuf.ProtocolStringList getFileUrisList()Optional. Cloud Storage URIs of files to be placed in the working directory of each executor.
repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFileUrisListin interfaceTask.NotebookTaskConfigOrBuilder- Returns:
- A list containing the fileUris.
-
getFileUrisCount
public int getFileUrisCount()Optional. Cloud Storage URIs of files to be placed in the working directory of each executor.
repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFileUrisCountin interfaceTask.NotebookTaskConfigOrBuilder- Returns:
- The count of fileUris.
-
getFileUris
Optional. Cloud Storage URIs of files to be placed in the working directory of each executor.
repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFileUrisin interfaceTask.NotebookTaskConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fileUris at the given index.
-
getFileUrisBytes
public com.google.protobuf.ByteString getFileUrisBytes(int index) Optional. Cloud Storage URIs of files to be placed in the working directory of each executor.
repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFileUrisBytesin interfaceTask.NotebookTaskConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fileUris at the given index.
-
setFileUris
Optional. Cloud Storage URIs of files to be placed in the working directory of each executor.
repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The fileUris to set.- Returns:
- This builder for chaining.
-
addFileUris
Optional. Cloud Storage URIs of files to be placed in the working directory of each executor.
repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The fileUris to add.- Returns:
- This builder for chaining.
-
addAllFileUris
Optional. Cloud Storage URIs of files to be placed in the working directory of each executor.
repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The fileUris to add.- Returns:
- This builder for chaining.
-
clearFileUris
Optional. Cloud Storage URIs of files to be placed in the working directory of each executor.
repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addFileUrisBytes
Optional. Cloud Storage URIs of files to be placed in the working directory of each executor.
repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the fileUris to add.- Returns:
- This builder for chaining.
-
getArchiveUrisList
public com.google.protobuf.ProtocolStringList getArchiveUrisList()Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getArchiveUrisListin interfaceTask.NotebookTaskConfigOrBuilder- Returns:
- A list containing the archiveUris.
-
getArchiveUrisCount
public int getArchiveUrisCount()Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getArchiveUrisCountin interfaceTask.NotebookTaskConfigOrBuilder- Returns:
- The count of archiveUris.
-
getArchiveUris
Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getArchiveUrisin interfaceTask.NotebookTaskConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The archiveUris at the given index.
-
getArchiveUrisBytes
public com.google.protobuf.ByteString getArchiveUrisBytes(int index) Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getArchiveUrisBytesin interfaceTask.NotebookTaskConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the archiveUris at the given index.
-
setArchiveUris
Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The archiveUris to set.- Returns:
- This builder for chaining.
-
addArchiveUris
Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The archiveUris to add.- Returns:
- This builder for chaining.
-
addAllArchiveUris
Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The archiveUris to add.- Returns:
- This builder for chaining.
-
clearArchiveUris
Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addArchiveUrisBytes
Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the archiveUris to add.- Returns:
- This builder for chaining.
-