Class UpdateEkmConnectionRequest (2.48.0)

public final class UpdateEkmConnectionRequest extends GeneratedMessageV3 implements UpdateEkmConnectionRequestOrBuilder

Request message for EkmService.UpdateEkmConnection.

Protobuf type google.cloud.kms.v1.UpdateEkmConnectionRequest

Static Fields

EKM_CONNECTION_FIELD_NUMBER

public static final int EKM_CONNECTION_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateEkmConnectionRequest getDefaultInstance()
Returns
Type Description
UpdateEkmConnectionRequest

getDescriptor()

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

newBuilder()

public static UpdateEkmConnectionRequest.Builder newBuilder()
Returns
Type Description
UpdateEkmConnectionRequest.Builder

newBuilder(UpdateEkmConnectionRequest prototype)

public static UpdateEkmConnectionRequest.Builder newBuilder(UpdateEkmConnectionRequest prototype)
Parameter
Name Description
prototype UpdateEkmConnectionRequest
Returns
Type Description
UpdateEkmConnectionRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateEkmConnectionRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateEkmConnectionRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateEkmConnectionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateEkmConnectionRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateEkmConnectionRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateEkmConnectionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateEkmConnectionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateEkmConnectionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateEkmConnectionRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateEkmConnectionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateEkmConnectionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateEkmConnectionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateEkmConnectionRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateEkmConnectionRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateEkmConnectionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateEkmConnectionRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateEkmConnectionRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateEkmConnectionRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateEkmConnectionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateEkmConnectionRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateEkmConnectionRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateEkmConnectionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateEkmConnectionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateEkmConnectionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateEkmConnectionRequest> parser()
Returns
Type Description
Parser<UpdateEkmConnectionRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateEkmConnectionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateEkmConnectionRequest

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.

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

getParserForType()

public Parser<UpdateEkmConnectionRequest> getParserForType()
Returns
Type Description
Parser<UpdateEkmConnectionRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateEkmConnectionRequest.Builder newBuilderForType()
Returns
Type Description
UpdateEkmConnectionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateEkmConnectionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateEkmConnectionRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateEkmConnectionRequest.Builder toBuilder()
Returns
Type Description
UpdateEkmConnectionRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException