Class DeleteJobRequest.Builder (2.78.0)

publicstaticfinalclass DeleteJobRequest.BuilderextendsGeneratedMessageV3.Builder<DeleteJobRequest.Builder>implementsDeleteJobRequestOrBuilder

Request message for deleting a job using DeleteJob.

Protobuf type google.cloud.scheduler.v1beta1.DeleteJobRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicDeleteJobRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteJobRequest.Builder
Overrides

build()

publicDeleteJobRequestbuild()
Returns
Type Description
DeleteJobRequest

buildPartial()

publicDeleteJobRequestbuildPartial()
Returns
Type Description
DeleteJobRequest

clear()

publicDeleteJobRequest.Builderclear()
Returns
Type Description
DeleteJobRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicDeleteJobRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeleteJobRequest.Builder
Overrides

clearLegacyAppEngineCron()

publicDeleteJobRequest.BuilderclearLegacyAppEngineCron()

This field is used to manage the legacy App Engine Cron jobs using the Cloud Scheduler API. If the field is set to true, the job in the __cron queue with the corresponding name will be deleted instead.

bool legacy_app_engine_cron = 2;

Returns
Type Description
DeleteJobRequest.Builder

This builder for chaining.

clearName()

publicDeleteJobRequest.BuilderclearName()

Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID.

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

Returns
Type Description
DeleteJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicDeleteJobRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeleteJobRequest.Builder
Overrides

clone()

publicDeleteJobRequest.Builderclone()
Returns
Type Description
DeleteJobRequest.Builder
Overrides

getDefaultInstanceForType()

publicDeleteJobRequestgetDefaultInstanceForType()
Returns
Type Description
DeleteJobRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLegacyAppEngineCron()

publicbooleangetLegacyAppEngineCron()

This field is used to manage the legacy App Engine Cron jobs using the Cloud Scheduler API. If the field is set to true, the job in the __cron queue with the corresponding name will be deleted instead.

bool legacy_app_engine_cron = 2;

Returns
Type Description
boolean

The legacyAppEngineCron.

getName()

publicStringgetName()

Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID.

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

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteJobRequest other)

publicDeleteJobRequest.BuildermergeFrom(DeleteJobRequestother)
Parameter
Name Description
other DeleteJobRequest
Returns
Type Description
DeleteJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicDeleteJobRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteJobRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicDeleteJobRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
DeleteJobRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalDeleteJobRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteJobRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicDeleteJobRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteJobRequest.Builder
Overrides

setLegacyAppEngineCron(boolean value)

publicDeleteJobRequest.BuildersetLegacyAppEngineCron(booleanvalue)

This field is used to manage the legacy App Engine Cron jobs using the Cloud Scheduler API. If the field is set to true, the job in the __cron queue with the corresponding name will be deleted instead.

bool legacy_app_engine_cron = 2;

Parameter
Name Description
value boolean

The legacyAppEngineCron to set.

Returns
Type Description
DeleteJobRequest.Builder

This builder for chaining.

setName(String value)

publicDeleteJobRequest.BuildersetName(Stringvalue)

Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteJobRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

publicDeleteJobRequest.BuildersetNameBytes(ByteStringvalue)

Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteJobRequest.Builder

This builder for chaining.

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

publicDeleteJobRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteJobRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalDeleteJobRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteJobRequest.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.