Class DeleteJobTemplateRequest.Builder (1.43.0)

public static final class DeleteJobTemplateRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteJobTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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