Class BatchDeletePipelineJobsRequest.Builder (3.38.0)

public static final class BatchDeletePipelineJobsRequest.Builder extends GeneratedMessageV3.Builder<BatchDeletePipelineJobsRequest.Builder> implements BatchDeletePipelineJobsRequestOrBuilder

Request message for PipelineService.BatchDeletePipelineJobs.

Protobuf type google.cloud.aiplatform.v1beta1.BatchDeletePipelineJobsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllNames(Iterable<String> values)

public BatchDeletePipelineJobsRequest.Builder addAllNames(Iterable<String> values)

Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format: projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}

repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valuesIterable<String>

The names to add.

Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder

This builder for chaining.

addNames(String value)

public BatchDeletePipelineJobsRequest.Builder addNames(String value)

Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format: projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}

repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The names to add.

Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder

This builder for chaining.

addNamesBytes(ByteString value)

public BatchDeletePipelineJobsRequest.Builder addNamesBytes(ByteString value)

Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format: projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}

repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes of the names to add.

Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchDeletePipelineJobsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder
Overrides

build()

public BatchDeletePipelineJobsRequest build()
Returns
TypeDescription
BatchDeletePipelineJobsRequest

buildPartial()

public BatchDeletePipelineJobsRequest buildPartial()
Returns
TypeDescription
BatchDeletePipelineJobsRequest

clear()

public BatchDeletePipelineJobsRequest.Builder clear()
Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchDeletePipelineJobsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder
Overrides

clearNames()

public BatchDeletePipelineJobsRequest.Builder clearNames()

Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format: projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}

repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchDeletePipelineJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder
Overrides

clearParent()

public BatchDeletePipelineJobsRequest.Builder clearParent()

Required. The name of the PipelineJobs' parent resource. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder

This builder for chaining.

clone()

public BatchDeletePipelineJobsRequest.Builder clone()
Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchDeletePipelineJobsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchDeletePipelineJobsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNames(int index)

public String getNames(int index)

Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format: projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}

repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The names at the given index.

getNamesBytes(int index)

public ByteString getNamesBytes(int index)

Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format: projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}

repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the names at the given index.

getNamesCount()

public int getNamesCount()

Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format: projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}

repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of names.

getNamesList()

public ProtocolStringList getNamesList()

Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format: projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}

repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProtocolStringList

A list containing the names.

getParent()

public String getParent()

Required. The name of the PipelineJobs' parent resource. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the PipelineJobs' parent resource. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchDeletePipelineJobsRequest other)

public BatchDeletePipelineJobsRequest.Builder mergeFrom(BatchDeletePipelineJobsRequest other)
Parameter
NameDescription
otherBatchDeletePipelineJobsRequest
Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchDeletePipelineJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchDeletePipelineJobsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchDeletePipelineJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BatchDeletePipelineJobsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder
Overrides

setNames(int index, String value)

public BatchDeletePipelineJobsRequest.Builder setNames(int index, String value)

Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format: projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}

repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The names to set.

Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder

This builder for chaining.

setParent(String value)

public BatchDeletePipelineJobsRequest.Builder setParent(String value)

Required. The name of the PipelineJobs' parent resource. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchDeletePipelineJobsRequest.Builder setParentBytes(ByteString value)

Required. The name of the PipelineJobs' parent resource. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder

This builder for chaining.

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

public BatchDeletePipelineJobsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchDeletePipelineJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchDeletePipelineJobsRequest.Builder
Overrides