Class UpdateEkmConnectionRequest.Builder (2.30.0)

public static final class UpdateEkmConnectionRequest.Builder extends GeneratedMessageV3.Builder<UpdateEkmConnectionRequest.Builder> implements UpdateEkmConnectionRequestOrBuilder

Request message for EkmService.UpdateEkmConnection.

Protobuf type google.cloud.kms.v1.UpdateEkmConnectionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateEkmConnectionRequest build()
Returns
TypeDescription
UpdateEkmConnectionRequest

buildPartial()

public UpdateEkmConnectionRequest buildPartial()
Returns
TypeDescription
UpdateEkmConnectionRequest

clear()

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

clearEkmConnection()

public UpdateEkmConnectionRequest.Builder clearEkmConnection()

Required. EkmConnection with updated values.

.google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateEkmConnectionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateEkmConnectionRequest.Builder clearUpdateMask()

Required. List of fields to be updated in this request.

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

Returns
TypeDescription
UpdateEkmConnectionRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateEkmConnectionRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateEkmConnectionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEkmConnection()

public EkmConnection getEkmConnection()

Required. EkmConnection with updated values.

.google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EkmConnection

The ekmConnection.

getEkmConnectionBuilder()

public EkmConnection.Builder getEkmConnectionBuilder()

Required. EkmConnection with updated values.

.google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EkmConnection.Builder

getEkmConnectionOrBuilder()

public EkmConnectionOrBuilder getEkmConnectionOrBuilder()

Required. EkmConnection with updated values.

.google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EkmConnectionOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. List of fields to be updated in this request.

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

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. List of fields to be updated in this request.

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

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. List of fields to be updated in this request.

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

Returns
TypeDescription
FieldMaskOrBuilder

hasEkmConnection()

public boolean hasEkmConnection()

Required. EkmConnection with updated values.

.google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the ekmConnection field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. List of fields to be updated in this request.

.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

mergeEkmConnection(EkmConnection value)

public UpdateEkmConnectionRequest.Builder mergeEkmConnection(EkmConnection value)

Required. EkmConnection with updated values.

.google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueEkmConnection
Returns
TypeDescription
UpdateEkmConnectionRequest.Builder

mergeFrom(UpdateEkmConnectionRequest other)

public UpdateEkmConnectionRequest.Builder mergeFrom(UpdateEkmConnectionRequest other)
Parameter
NameDescription
otherUpdateEkmConnectionRequest
Returns
TypeDescription
UpdateEkmConnectionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateEkmConnectionRequest.Builder mergeUpdateMask(FieldMask value)

Required. List of fields to be updated in this request.

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

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateEkmConnectionRequest.Builder

setEkmConnection(EkmConnection value)

public UpdateEkmConnectionRequest.Builder setEkmConnection(EkmConnection value)

Required. EkmConnection with updated values.

.google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueEkmConnection
Returns
TypeDescription
UpdateEkmConnectionRequest.Builder

setEkmConnection(EkmConnection.Builder builderForValue)

public UpdateEkmConnectionRequest.Builder setEkmConnection(EkmConnection.Builder builderForValue)

Required. EkmConnection with updated values.

.google.cloud.kms.v1.EkmConnection ekm_connection = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueEkmConnection.Builder
Returns
TypeDescription
UpdateEkmConnectionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateEkmConnectionRequest.Builder setUpdateMask(FieldMask value)

Required. List of fields to be updated in this request.

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

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateEkmConnectionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateEkmConnectionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. List of fields to be updated in this request.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateEkmConnectionRequest.Builder