Class DeleteCertificateRequest.Builder (0.3.1)

public static final class DeleteCertificateRequest.Builder extends GeneratedMessageV3.Builder<DeleteCertificateRequest.Builder> implements DeleteCertificateRequestOrBuilder

Request for the DeleteCertificate method.

Protobuf type google.cloud.certificatemanager.v1.DeleteCertificateRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteCertificateRequest build()
Returns
TypeDescription
DeleteCertificateRequest

buildPartial()

public DeleteCertificateRequest buildPartial()
Returns
TypeDescription
DeleteCertificateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteCertificateRequest.Builder clearName()

Required. A name of the certificate to delete. Must be in the format projects/*/locations/*/certificates/*.

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

Returns
TypeDescription
DeleteCertificateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteCertificateRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteCertificateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. A name of the certificate to delete. Must be in the format projects/*/locations/*/certificates/*.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. A name of the certificate to delete. Must be in the format projects/*/locations/*/certificates/*.

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(DeleteCertificateRequest other)

public DeleteCertificateRequest.Builder mergeFrom(DeleteCertificateRequest other)
Parameter
NameDescription
otherDeleteCertificateRequest
Returns
TypeDescription
DeleteCertificateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteCertificateRequest.Builder setName(String value)

Required. A name of the certificate to delete. Must be in the format projects/*/locations/*/certificates/*.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteCertificateRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteCertificateRequest.Builder setNameBytes(ByteString value)

Required. A name of the certificate to delete. Must be in the format projects/*/locations/*/certificates/*.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteCertificateRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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