Class DeleteCdnKeyRequest.Builder (0.33.0)

public static final class DeleteCdnKeyRequest.Builder extends GeneratedMessageV3.Builder<DeleteCdnKeyRequest.Builder> implements DeleteCdnKeyRequestOrBuilder

Request message for VideoStitcherService.deleteCdnKey.

Protobuf type google.cloud.video.stitcher.v1.DeleteCdnKeyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteCdnKeyRequest build()
Returns
TypeDescription
DeleteCdnKeyRequest

buildPartial()

public DeleteCdnKeyRequest buildPartial()
Returns
TypeDescription
DeleteCdnKeyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteCdnKeyRequest.Builder clearName()

Required. The name of the CDN key to be deleted, in the form of projects/{project_number}/locations/{location}/cdnKeys/{id}.

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

Returns
TypeDescription
DeleteCdnKeyRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteCdnKeyRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteCdnKeyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the CDN key to be deleted, in the form of projects/{project_number}/locations/{location}/cdnKeys/{id}.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the CDN key to be deleted, in the form of projects/{project_number}/locations/{location}/cdnKeys/{id}.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteCdnKeyRequest other)

public DeleteCdnKeyRequest.Builder mergeFrom(DeleteCdnKeyRequest other)
Parameter
NameDescription
otherDeleteCdnKeyRequest
Returns
TypeDescription
DeleteCdnKeyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteCdnKeyRequest.Builder setName(String value)

Required. The name of the CDN key to be deleted, in the form of projects/{project_number}/locations/{location}/cdnKeys/{id}.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteCdnKeyRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteCdnKeyRequest.Builder setNameBytes(ByteString value)

Required. The name of the CDN key to be deleted, in the form of projects/{project_number}/locations/{location}/cdnKeys/{id}.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteCdnKeyRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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