Class UpdateEkmConnectionRequest (2.37.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
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateEkmConnectionRequest getDefaultInstance()
Returns
TypeDescription
UpdateEkmConnectionRequest

getDescriptor()

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

newBuilder()

public static UpdateEkmConnectionRequest.Builder newBuilder()
Returns
TypeDescription
UpdateEkmConnectionRequest.Builder

newBuilder(UpdateEkmConnectionRequest prototype)

public static UpdateEkmConnectionRequest.Builder newBuilder(UpdateEkmConnectionRequest prototype)
Parameter
NameDescription
prototypeUpdateEkmConnectionRequest
Returns
TypeDescription
UpdateEkmConnectionRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateEkmConnectionRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateEkmConnectionRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateEkmConnectionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateEkmConnectionRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateEkmConnectionRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateEkmConnectionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateEkmConnectionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateEkmConnectionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateEkmConnectionRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateEkmConnectionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateEkmConnectionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateEkmConnectionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateEkmConnectionRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateEkmConnectionRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateEkmConnectionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateEkmConnectionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateEkmConnectionRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateEkmConnectionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateEkmConnectionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateEkmConnectionRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateEkmConnectionRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateEkmConnectionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateEkmConnectionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateEkmConnectionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateEkmConnectionRequest> parser()
Returns
TypeDescription
Parser<UpdateEkmConnectionRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateEkmConnectionRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateEkmConnectionRequest

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.

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

getParserForType()

public Parser<UpdateEkmConnectionRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateEkmConnectionRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateEkmConnectionRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateEkmConnectionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateEkmConnectionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateEkmConnectionRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateEkmConnectionRequest.Builder toBuilder()
Returns
TypeDescription
UpdateEkmConnectionRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException