Class NotebookExecutionJob.DataformRepositorySource.Builder (3.52.0)

public static final class NotebookExecutionJob.DataformRepositorySource.Builder extends GeneratedMessageV3.Builder<NotebookExecutionJob.DataformRepositorySource.Builder> implements NotebookExecutionJob.DataformRepositorySourceOrBuilder

The Dataform Repository containing the input notebook.

Protobuf type google.cloud.aiplatform.v1.NotebookExecutionJob.DataformRepositorySource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NotebookExecutionJob.DataformRepositorySource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder
Overrides

build()

public NotebookExecutionJob.DataformRepositorySource build()
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource

buildPartial()

public NotebookExecutionJob.DataformRepositorySource buildPartial()
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource

clear()

public NotebookExecutionJob.DataformRepositorySource.Builder clear()
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder
Overrides

clearCommitSha()

public NotebookExecutionJob.DataformRepositorySource.Builder clearCommitSha()

The commit SHA to read repository with. If unset, the file will be read at HEAD.

string commit_sha = 2;

Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder

This builder for chaining.

clearDataformRepositoryResourceName()

public NotebookExecutionJob.DataformRepositorySource.Builder clearDataformRepositoryResourceName()

The resource name of the Dataform Repository. Format: projects/{project_id}/locations/{location}/repositories/{repository_id}

string dataform_repository_resource_name = 1;

Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NotebookExecutionJob.DataformRepositorySource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NotebookExecutionJob.DataformRepositorySource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder
Overrides

clone()

public NotebookExecutionJob.DataformRepositorySource.Builder clone()
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder
Overrides

getCommitSha()

public String getCommitSha()

The commit SHA to read repository with. If unset, the file will be read at HEAD.

string commit_sha = 2;

Returns
Type Description
String

The commitSha.

getCommitShaBytes()

public ByteString getCommitShaBytes()

The commit SHA to read repository with. If unset, the file will be read at HEAD.

string commit_sha = 2;

Returns
Type Description
ByteString

The bytes for commitSha.

getDataformRepositoryResourceName()

public String getDataformRepositoryResourceName()

The resource name of the Dataform Repository. Format: projects/{project_id}/locations/{location}/repositories/{repository_id}

string dataform_repository_resource_name = 1;

Returns
Type Description
String

The dataformRepositoryResourceName.

getDataformRepositoryResourceNameBytes()

public ByteString getDataformRepositoryResourceNameBytes()

The resource name of the Dataform Repository. Format: projects/{project_id}/locations/{location}/repositories/{repository_id}

string dataform_repository_resource_name = 1;

Returns
Type Description
ByteString

The bytes for dataformRepositoryResourceName.

getDefaultInstanceForType()

public NotebookExecutionJob.DataformRepositorySource getDefaultInstanceForType()
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NotebookExecutionJob.DataformRepositorySource other)

public NotebookExecutionJob.DataformRepositorySource.Builder mergeFrom(NotebookExecutionJob.DataformRepositorySource other)
Parameter
Name Description
other NotebookExecutionJob.DataformRepositorySource
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NotebookExecutionJob.DataformRepositorySource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NotebookExecutionJob.DataformRepositorySource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NotebookExecutionJob.DataformRepositorySource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder
Overrides

setCommitSha(String value)

public NotebookExecutionJob.DataformRepositorySource.Builder setCommitSha(String value)

The commit SHA to read repository with. If unset, the file will be read at HEAD.

string commit_sha = 2;

Parameter
Name Description
value String

The commitSha to set.

Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder

This builder for chaining.

setCommitShaBytes(ByteString value)

public NotebookExecutionJob.DataformRepositorySource.Builder setCommitShaBytes(ByteString value)

The commit SHA to read repository with. If unset, the file will be read at HEAD.

string commit_sha = 2;

Parameter
Name Description
value ByteString

The bytes for commitSha to set.

Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder

This builder for chaining.

setDataformRepositoryResourceName(String value)

public NotebookExecutionJob.DataformRepositorySource.Builder setDataformRepositoryResourceName(String value)

The resource name of the Dataform Repository. Format: projects/{project_id}/locations/{location}/repositories/{repository_id}

string dataform_repository_resource_name = 1;

Parameter
Name Description
value String

The dataformRepositoryResourceName to set.

Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder

This builder for chaining.

setDataformRepositoryResourceNameBytes(ByteString value)

public NotebookExecutionJob.DataformRepositorySource.Builder setDataformRepositoryResourceNameBytes(ByteString value)

The resource name of the Dataform Repository. Format: projects/{project_id}/locations/{location}/repositories/{repository_id}

string dataform_repository_resource_name = 1;

Parameter
Name Description
value ByteString

The bytes for dataformRepositoryResourceName to set.

Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NotebookExecutionJob.DataformRepositorySource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NotebookExecutionJob.DataformRepositorySource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NotebookExecutionJob.DataformRepositorySource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NotebookExecutionJob.DataformRepositorySource.Builder
Overrides