Class Workload.KMSSettings.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.KMSSettings.Builder>
      • clear

        public Workload.KMSSettings.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.KMSSettings.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.KMSSettings.Builder>
      • getDefaultInstanceForType

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

        public Workload.KMSSettings build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Workload.KMSSettings buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Workload.KMSSettings.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.KMSSettings.Builder>
      • setField

        public Workload.KMSSettings.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.KMSSettings.Builder>
      • clearField

        public Workload.KMSSettings.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.KMSSettings.Builder>
      • clearOneof

        public Workload.KMSSettings.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.KMSSettings.Builder>
      • setRepeatedField

        public Workload.KMSSettings.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.KMSSettings.Builder>
      • addRepeatedField

        public Workload.KMSSettings.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.KMSSettings.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.KMSSettings.Builder>
      • mergeFrom

        public Workload.KMSSettings.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Workload.KMSSettings.Builder>
        Throws:
        IOException
      • hasNextRotationTime

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

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

        public Workload.KMSSettings.Builder setNextRotationTime​(com.google.protobuf.Timestamp value)
         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];
      • setNextRotationTime

        public Workload.KMSSettings.Builder setNextRotationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         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];
      • mergeNextRotationTime

        public Workload.KMSSettings.Builder mergeNextRotationTime​(com.google.protobuf.Timestamp value)
         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];
      • clearNextRotationTime

        public Workload.KMSSettings.Builder clearNextRotationTime()
         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];
      • getNextRotationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getNextRotationTimeBuilder()
         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];
      • getNextRotationTimeOrBuilder

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

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

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

        public Workload.KMSSettings.Builder setRotationPeriod​(com.google.protobuf.Duration value)
         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];
      • setRotationPeriod

        public Workload.KMSSettings.Builder setRotationPeriod​(com.google.protobuf.Duration.Builder builderForValue)
         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];
      • mergeRotationPeriod

        public Workload.KMSSettings.Builder mergeRotationPeriod​(com.google.protobuf.Duration value)
         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];
      • clearRotationPeriod

        public Workload.KMSSettings.Builder clearRotationPeriod()
         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];
      • getRotationPeriodBuilder

        public com.google.protobuf.Duration.Builder getRotationPeriodBuilder()
         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];
      • getRotationPeriodOrBuilder

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

        public final Workload.KMSSettings.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.KMSSettings.Builder>
      • mergeUnknownFields

        public final Workload.KMSSettings.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.KMSSettings.Builder>