Class Workload.KMSSettings

  • All Implemented Interfaces:
    Workload.KMSSettingsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
    Enclosing class:
    Workload

    @Deprecated
    public static final class Workload.KMSSettings
    extends com.google.protobuf.GeneratedMessageV3
    implements Workload.KMSSettingsOrBuilder
    Deprecated.
     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
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Workload.KMSSettings.Builder
      Deprecated.
      Settings specific to the Key Management Service.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int NEXT_ROTATION_TIME_FIELD_NUMBER
      Deprecated.
       
      static int ROTATION_PERIOD_FIELD_NUMBER
      Deprecated.
       
      • Fields inherited from class com.google.protobuf.GeneratedMessageV3

        alwaysUseFieldBuilders, unknownFields
      • Fields inherited from class com.google.protobuf.AbstractMessage

        memoizedSize
      • Fields inherited from class com.google.protobuf.AbstractMessageLite

        memoizedHashCode
    • Field Detail

      • NEXT_ROTATION_TIME_FIELD_NUMBER

        public static final int NEXT_ROTATION_TIME_FIELD_NUMBER
        Deprecated.
        See Also:
        Constant Field Values
      • ROTATION_PERIOD_FIELD_NUMBER

        public static final int ROTATION_PERIOD_FIELD_NUMBER
        Deprecated.
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Deprecated.
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
        Deprecated.
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Deprecated.
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasNextRotationTime

        public boolean hasNextRotationTime()
        Deprecated.
         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];
        Specified by:
        hasNextRotationTime in interface Workload.KMSSettingsOrBuilder
        Returns:
        Whether the nextRotationTime field is set.
      • getNextRotationTime

        public com.google.protobuf.Timestamp getNextRotationTime()
        Deprecated.
         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];
        Specified by:
        getNextRotationTime in interface Workload.KMSSettingsOrBuilder
        Returns:
        The nextRotationTime.
      • getNextRotationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getNextRotationTimeOrBuilder()
        Deprecated.
         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];
        Specified by:
        getNextRotationTimeOrBuilder in interface Workload.KMSSettingsOrBuilder
      • hasRotationPeriod

        public boolean hasRotationPeriod()
        Deprecated.
         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];
        Specified by:
        hasRotationPeriod in interface Workload.KMSSettingsOrBuilder
        Returns:
        Whether the rotationPeriod field is set.
      • getRotationPeriod

        public com.google.protobuf.Duration getRotationPeriod()
        Deprecated.
         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];
        Specified by:
        getRotationPeriod in interface Workload.KMSSettingsOrBuilder
        Returns:
        The rotationPeriod.
      • getRotationPeriodOrBuilder

        public com.google.protobuf.DurationOrBuilder getRotationPeriodOrBuilder()
        Deprecated.
         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];
        Specified by:
        getRotationPeriodOrBuilder in interface Workload.KMSSettingsOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Deprecated.
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Deprecated.
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Deprecated.
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Workload.KMSSettings parseFrom​(ByteBuffer data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Workload.KMSSettings parseFrom​(ByteBuffer data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Workload.KMSSettings parseFrom​(com.google.protobuf.ByteString data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Workload.KMSSettings parseFrom​(com.google.protobuf.ByteString data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Workload.KMSSettings parseFrom​(byte[] data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Workload.KMSSettings parseFrom​(byte[] data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Workload.KMSSettings parseFrom​(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
        Deprecated.
        Throws:
        IOException
      • newBuilderForType

        public Workload.KMSSettings.Builder newBuilderForType()
        Deprecated.
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Workload.KMSSettings.Builder toBuilder()
        Deprecated.
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Workload.KMSSettings.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Deprecated.
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Workload.KMSSettings> getParserForType()
        Deprecated.
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Workload.KMSSettings getDefaultInstanceForType()
        Deprecated.
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder