Class UpdateCertificateRequest.Builder (0.42.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateCertificateRequest build()
Returns
TypeDescription
UpdateCertificateRequest

buildPartial()

public UpdateCertificateRequest buildPartial()
Returns
TypeDescription
UpdateCertificateRequest

clear()

public UpdateCertificateRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateCertificateRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateCertificateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateCertificateRequest.Builder

clone()

public UpdateCertificateRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CertificateOrBuilder

getDefaultInstanceForType()

public UpdateCertificateRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateCertificateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCertificate
Returns
TypeDescription
UpdateCertificateRequest.Builder

mergeFrom(UpdateCertificateRequest other)

public UpdateCertificateRequest.Builder mergeFrom(UpdateCertificateRequest other)
Parameter
NameDescription
otherUpdateCertificateRequest
Returns
TypeDescription
UpdateCertificateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCertificateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueCertificate
Returns
TypeDescription
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
NameDescription
builderForValueCertificate.Builder
Returns
TypeDescription
UpdateCertificateRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCertificateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateCertificateRequest.Builder