Class UpdateCertificateRequest.Builder (0.58.0)

public static final class UpdateCertificateRequest.Builder extends GeneratedMessageV3.Builder<UpdateCertificateRequest.Builder> implements UpdateCertificateRequestOrBuilder

Request for the UpdateCertificate method.

Protobuf type google.cloud.certificatemanager.v1.UpdateCertificateRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateCertificateRequest build()
Returns
Type Description
UpdateCertificateRequest

buildPartial()

public UpdateCertificateRequest buildPartial()
Returns
Type Description
UpdateCertificateRequest

clear()

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

clearCertificate()

public UpdateCertificateRequest.Builder clearCertificate()

Required. A definition of the certificate to update.

.google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateCertificateRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateCertificateRequest.Builder clearUpdateMask()

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateCertificateRequest.Builder

clone()

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

getCertificate()

public Certificate getCertificate()

Required. A definition of the certificate to update.

.google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Certificate

The certificate.

getCertificateBuilder()

public Certificate.Builder getCertificateBuilder()

Required. A definition of the certificate to update.

.google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Certificate.Builder

getCertificateOrBuilder()

public CertificateOrBuilder getCertificateOrBuilder()

Required. A definition of the certificate to update.

.google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateOrBuilder

getDefaultInstanceForType()

public UpdateCertificateRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCertificateRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasCertificate()

public boolean hasCertificate()

Required. A definition of the certificate to update.

.google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the certificate field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCertificate(Certificate value)

public UpdateCertificateRequest.Builder mergeCertificate(Certificate value)

Required. A definition of the certificate to update.

.google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Certificate
Returns
Type Description
UpdateCertificateRequest.Builder

mergeFrom(UpdateCertificateRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCertificateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateCertificateRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateCertificateRequest.Builder mergeUpdateMask(FieldMask value)

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateCertificateRequest.Builder

setCertificate(Certificate value)

public UpdateCertificateRequest.Builder setCertificate(Certificate value)

Required. A definition of the certificate to update.

.google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Certificate
Returns
Type Description
UpdateCertificateRequest.Builder

setCertificate(Certificate.Builder builderForValue)

public UpdateCertificateRequest.Builder setCertificate(Certificate.Builder builderForValue)

Required. A definition of the certificate to update.

.google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Certificate.Builder
Returns
Type Description
UpdateCertificateRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateCertificateRequest.Builder setUpdateMask(FieldMask value)

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateCertificateRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateCertificateRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateCertificateRequest.Builder