public final class CreateCryptoKeyVersionRequest extends GeneratedMessageV3 implements CreateCryptoKeyVersionRequestOrBuilder
Request message for KeyManagementService.CreateCryptoKeyVersion.
Protobuf type google.cloud.kms.v1.CreateCryptoKeyVersionRequest
Fields
CRYPTO_KEY_VERSION_FIELD_NUMBER
public static final int CRYPTO_KEY_VERSION_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCryptoKeyVersion()
public CryptoKeyVersion getCryptoKeyVersion()
Required. A CryptoKeyVersion with initial field values.
.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getCryptoKeyVersionOrBuilder()
public CryptoKeyVersionOrBuilder getCryptoKeyVersionOrBuilder()
Required. A CryptoKeyVersion with initial field values.
.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstance()
public static CreateCryptoKeyVersionRequest getDefaultInstance()
Returns
getDefaultInstanceForType()
public CreateCryptoKeyVersionRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParent()
public String getParent()
Required. The name of the CryptoKey associated with
the CryptoKeyVersions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The name of the CryptoKey associated with
the CryptoKeyVersions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getParserForType()
public Parser<CreateCryptoKeyVersionRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasCryptoKeyVersion()
public boolean hasCryptoKeyVersion()
Required. A CryptoKeyVersion with initial field values.
.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the cryptoKeyVersion field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static CreateCryptoKeyVersionRequest.Builder newBuilder()
Returns
newBuilder(CreateCryptoKeyVersionRequest prototype)
public static CreateCryptoKeyVersionRequest.Builder newBuilder(CreateCryptoKeyVersionRequest prototype)
Parameter
Returns
newBuilderForType()
public CreateCryptoKeyVersionRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateCryptoKeyVersionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static CreateCryptoKeyVersionRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateCryptoKeyVersionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateCryptoKeyVersionRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateCryptoKeyVersionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateCryptoKeyVersionRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateCryptoKeyVersionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateCryptoKeyVersionRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateCryptoKeyVersionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateCryptoKeyVersionRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateCryptoKeyVersionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateCryptoKeyVersionRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateCryptoKeyVersionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CreateCryptoKeyVersionRequest> parser()
Returns
toBuilder()
public CreateCryptoKeyVersionRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions