Class UpdateEkmConnectionRequest.Builder (2.51.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateEkmConnectionRequest build()
Returns
Type Description
UpdateEkmConnectionRequest

buildPartial()

public UpdateEkmConnectionRequest buildPartial()
Returns
Type Description
UpdateEkmConnectionRequest

clear()

public UpdateEkmConnectionRequest.Builder clear()
Returns
Type Description
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
Type Description
UpdateEkmConnectionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateEkmConnectionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
UpdateEkmConnectionRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateEkmConnectionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateEkmConnectionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
FieldMaskOrBuilder

hasEkmConnection()

public boolean hasEkmConnection()

Required. EkmConnection with updated values.

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

Returns
Type Description
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
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

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
Name Description
value EkmConnection
Returns
Type Description
UpdateEkmConnectionRequest.Builder

mergeFrom(UpdateEkmConnectionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEkmConnectionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
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
Name Description
value EkmConnection
Returns
Type Description
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
Name Description
builderForValue EkmConnection.Builder
Returns
Type Description
UpdateEkmConnectionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEkmConnectionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
UpdateEkmConnectionRequest.Builder