Class DeleteJobTemplateRequest.Builder (1.82.0)

public static final class DeleteJobTemplateRequest.Builder extends GeneratedMessage.Builder<DeleteJobTemplateRequest.Builder> implements DeleteJobTemplateRequestOrBuilder

Request message for TranscoderService.DeleteJobTemplate.

Protobuf type google.cloud.video.transcoder.v1.DeleteJobTemplateRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeleteJobTemplateRequest build()
Returns
Type Description
DeleteJobTemplateRequest

buildPartial()

public DeleteJobTemplateRequest buildPartial()
Returns
Type Description
DeleteJobTemplateRequest

clear()

public DeleteJobTemplateRequest.Builder clear()
Returns
Type Description
DeleteJobTemplateRequest.Builder
Overrides

clearAllowMissing()

public DeleteJobTemplateRequest.Builder clearAllowMissing()

If set to true, and the job template is not found, the request will succeed but no action will be taken on the server.

bool allow_missing = 2;

Returns
Type Description
DeleteJobTemplateRequest.Builder

This builder for chaining.

clearName()

public DeleteJobTemplateRequest.Builder clearName()

Required. The name of the job template to delete. projects/{project}/locations/{location}/jobTemplates/{job_template}

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

Returns
Type Description
DeleteJobTemplateRequest.Builder

This builder for chaining.

getAllowMissing()

public boolean getAllowMissing()

If set to true, and the job template is not found, the request will succeed but no action will be taken on the server.

bool allow_missing = 2;

Returns
Type Description
boolean

The allowMissing.

getDefaultInstanceForType()

public DeleteJobTemplateRequest getDefaultInstanceForType()
Returns
Type Description
DeleteJobTemplateRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the job template to delete. projects/{project}/locations/{location}/jobTemplates/{job_template}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the job template to delete. projects/{project}/locations/{location}/jobTemplates/{job_template}

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteJobTemplateRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAllowMissing(boolean value)

public DeleteJobTemplateRequest.Builder setAllowMissing(boolean value)

If set to true, and the job template is not found, the request will succeed but no action will be taken on the server.

bool allow_missing = 2;

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
DeleteJobTemplateRequest.Builder

This builder for chaining.

setName(String value)

public DeleteJobTemplateRequest.Builder setName(String value)

Required. The name of the job template to delete. projects/{project}/locations/{location}/jobTemplates/{job_template}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteJobTemplateRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteJobTemplateRequest.Builder setNameBytes(ByteString value)

Required. The name of the job template to delete. projects/{project}/locations/{location}/jobTemplates/{job_template}

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
DeleteJobTemplateRequest.Builder

This builder for chaining.