public static final class Task.NotebookTaskConfig extends GeneratedMessageV3 implements Task.NotebookTaskConfigOrBuilder
Config for running scheduled notebooks.
Protobuf type google.cloud.dataplex.v1.Task.NotebookTaskConfig
Static Fields
ARCHIVE_URIS_FIELD_NUMBER
public static final int ARCHIVE_URIS_FIELD_NUMBER
Field Value
FILE_URIS_FIELD_NUMBER
public static final int FILE_URIS_FIELD_NUMBER
Field Value
INFRASTRUCTURE_SPEC_FIELD_NUMBER
public static final int INFRASTRUCTURE_SPEC_FIELD_NUMBER
Field Value
NOTEBOOK_FIELD_NUMBER
public static final int NOTEBOOK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Task.NotebookTaskConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Task.NotebookTaskConfig.Builder newBuilder()
Returns
newBuilder(Task.NotebookTaskConfig prototype)
public static Task.NotebookTaskConfig.Builder newBuilder(Task.NotebookTaskConfig prototype)
Parameter
Returns
public static Task.NotebookTaskConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Task.NotebookTaskConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Task.NotebookTaskConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Task.NotebookTaskConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Task.NotebookTaskConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Task.NotebookTaskConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Task.NotebookTaskConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Task.NotebookTaskConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Task.NotebookTaskConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Task.NotebookTaskConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Task.NotebookTaskConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Task.NotebookTaskConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Task.NotebookTaskConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getArchiveUris(int index)
public String getArchiveUris(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];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The archiveUris at the given index.
|
getArchiveUrisBytes(int index)
public 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];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the archiveUris at the given index.
|
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];
Returns
Type | Description |
int | The count of archiveUris.
|
getArchiveUrisList()
public 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];
Returns
getDefaultInstanceForType()
public Task.NotebookTaskConfig getDefaultInstanceForType()
Returns
getFileUris(int index)
public String getFileUris(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];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The fileUris at the given index.
|
getFileUrisBytes(int index)
public 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];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the fileUris at the given index.
|
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];
Returns
Type | Description |
int | The count of fileUris.
|
getFileUrisList()
public 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];
Returns
getInfrastructureSpec()
public Task.InfrastructureSpec getInfrastructureSpec()
Optional. Infrastructure specification for the execution.
.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getInfrastructureSpecOrBuilder()
public Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder()
Optional. Infrastructure specification for the execution.
.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getNotebook()
public String 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];
Returns
Type | Description |
String | The notebook.
|
getNotebookBytes()
public 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];
Returns
getParserForType()
public Parser<Task.NotebookTaskConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasInfrastructureSpec()
public boolean hasInfrastructureSpec()
Optional. Infrastructure specification for the execution.
.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the infrastructureSpec field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Task.NotebookTaskConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Task.NotebookTaskConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Task.NotebookTaskConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions