Class Workload.KMSSettings (2.45.0)

public static final class Workload.KMSSettings extends GeneratedMessageV3 implements Workload.KMSSettingsOrBuilder

Settings specific to the Key Management Service. This message is deprecated. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.

Protobuf type google.cloud.assuredworkloads.v1.Workload.KMSSettings

Static Fields

NEXT_ROTATION_TIME_FIELD_NUMBER (deprecated)

public static final int NEXT_ROTATION_TIME_FIELD_NUMBER
Field Value
Type Description
int

ROTATION_PERIOD_FIELD_NUMBER (deprecated)

public static final int ROTATION_PERIOD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance() (deprecated)

public static Workload.KMSSettings getDefaultInstance()
Returns
Type Description
Workload.KMSSettings

getDescriptor() (deprecated)

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

newBuilder() (deprecated)

public static Workload.KMSSettings.Builder newBuilder()
Returns
Type Description
Workload.KMSSettings.Builder

newBuilder(Workload.KMSSettings prototype) (deprecated)

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

parseDelimitedFrom(InputStream input) (deprecated)

public static Workload.KMSSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Workload.KMSSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(byte[] data) (deprecated)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(ByteString data) (deprecated)

public static Workload.KMSSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Workload.KMSSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(CodedInputStream input) (deprecated)

public static Workload.KMSSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Workload.KMSSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(InputStream input) (deprecated)

public static Workload.KMSSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Workload.KMSSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(ByteBuffer data) (deprecated)

public static Workload.KMSSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Workload.KMSSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parser() (deprecated)

public static Parser<Workload.KMSSettings> parser()
Returns
Type Description
Parser<KMSSettings>

Methods

equals(Object obj) (deprecated)

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

getDefaultInstanceForType() (deprecated)

public Workload.KMSSettings getDefaultInstanceForType()
Returns
Type Description
Workload.KMSSettings

getNextRotationTime() (deprecated)

public Timestamp getNextRotationTime()

Required. Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary.

.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Timestamp

The nextRotationTime.

getNextRotationTimeOrBuilder() (deprecated)

public TimestampOrBuilder getNextRotationTimeOrBuilder()

Required. Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary.

.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
TimestampOrBuilder

getParserForType() (deprecated)

public Parser<Workload.KMSSettings> getParserForType()
Returns
Type Description
Parser<KMSSettings>
Overrides

getRotationPeriod() (deprecated)

public Duration getRotationPeriod()

Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key Management Service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours.

.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Duration

The rotationPeriod.

getRotationPeriodOrBuilder() (deprecated)

public DurationOrBuilder getRotationPeriodOrBuilder()

Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key Management Service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours.

.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
DurationOrBuilder

getSerializedSize() (deprecated)

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasNextRotationTime() (deprecated)

public boolean hasNextRotationTime()

Required. Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary.

.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the nextRotationTime field is set.

hasRotationPeriod() (deprecated)

public boolean hasRotationPeriod()

Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key Management Service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours.

.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the rotationPeriod field is set.

hashCode() (deprecated)

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable() (deprecated)

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

isInitialized() (deprecated)

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType() (deprecated)

public Workload.KMSSettings.Builder newBuilderForType()
Returns
Type Description
Workload.KMSSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent) (deprecated)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) (deprecated)

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

toBuilder() (deprecated)

public Workload.KMSSettings.Builder toBuilder()
Returns
Type Description
Workload.KMSSettings.Builder

writeTo(CodedOutputStream output) (deprecated)

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