public static final class Rotation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Rotation.Builder> implements RotationOrBuilder
The rotation time and period for a [Secret][google.cloud.secretmanager.v1beta2.Secret]. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. [Secret.topics][google.cloud.secretmanager.v1beta2.Secret.topics] must be set to configure rotation.Protobuf type
google.cloud.secretmanager.v1beta2.Rotation| Modifier and Type | Method and Description |
|---|---|
Rotation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Rotation |
build() |
Rotation |
buildPartial() |
Rotation.Builder |
clear() |
Rotation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Rotation.Builder |
clearNextRotationTime()
Optional.
|
Rotation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Rotation.Builder |
clearRotationPeriod()
Input only.
|
Rotation.Builder |
clone() |
Rotation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getNextRotationTime()
Optional.
|
com.google.protobuf.Timestamp.Builder |
getNextRotationTimeBuilder()
Optional.
|
com.google.protobuf.TimestampOrBuilder |
getNextRotationTimeOrBuilder()
Optional.
|
com.google.protobuf.Duration |
getRotationPeriod()
Input only.
|
com.google.protobuf.Duration.Builder |
getRotationPeriodBuilder()
Input only.
|
com.google.protobuf.DurationOrBuilder |
getRotationPeriodOrBuilder()
Input only.
|
boolean |
hasNextRotationTime()
Optional.
|
boolean |
hasRotationPeriod()
Input only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Rotation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Rotation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Rotation.Builder |
mergeFrom(Rotation other) |
Rotation.Builder |
mergeNextRotationTime(com.google.protobuf.Timestamp value)
Optional.
|
Rotation.Builder |
mergeRotationPeriod(com.google.protobuf.Duration value)
Input only.
|
Rotation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Rotation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Rotation.Builder |
setNextRotationTime(com.google.protobuf.Timestamp.Builder builderForValue)
Optional.
|
Rotation.Builder |
setNextRotationTime(com.google.protobuf.Timestamp value)
Optional.
|
Rotation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Rotation.Builder |
setRotationPeriod(com.google.protobuf.Duration.Builder builderForValue)
Input only.
|
Rotation.Builder |
setRotationPeriod(com.google.protobuf.Duration value)
Input only.
|
Rotation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Rotation.Builder>public Rotation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Rotation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Rotation.Builder>public Rotation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Rotation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Rotation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Rotation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Rotation.Builder>public Rotation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Rotation.Builder>public Rotation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Rotation.Builder>public Rotation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Rotation.Builder>public Rotation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Rotation.Builder>public Rotation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Rotation.Builder>public Rotation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Rotation.Builder>public Rotation.Builder mergeFrom(Rotation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Rotation.Builder>public Rotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Rotation.Builder>IOExceptionpublic boolean hasNextRotationTime()
Optional. Timestamp in UTC at which the [Secret][google.cloud.secretmanager.v1beta2.Secret] is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years). [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] MUST be set if [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set.
.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];
hasNextRotationTime in interface RotationOrBuilderpublic com.google.protobuf.Timestamp getNextRotationTime()
Optional. Timestamp in UTC at which the [Secret][google.cloud.secretmanager.v1beta2.Secret] is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years). [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] MUST be set if [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set.
.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];
getNextRotationTime in interface RotationOrBuilderpublic Rotation.Builder setNextRotationTime(com.google.protobuf.Timestamp value)
Optional. Timestamp in UTC at which the [Secret][google.cloud.secretmanager.v1beta2.Secret] is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years). [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] MUST be set if [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set.
.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];
public Rotation.Builder setNextRotationTime(com.google.protobuf.Timestamp.Builder builderForValue)
Optional. Timestamp in UTC at which the [Secret][google.cloud.secretmanager.v1beta2.Secret] is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years). [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] MUST be set if [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set.
.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];
public Rotation.Builder mergeNextRotationTime(com.google.protobuf.Timestamp value)
Optional. Timestamp in UTC at which the [Secret][google.cloud.secretmanager.v1beta2.Secret] is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years). [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] MUST be set if [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set.
.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];
public Rotation.Builder clearNextRotationTime()
Optional. Timestamp in UTC at which the [Secret][google.cloud.secretmanager.v1beta2.Secret] is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years). [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] MUST be set if [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set.
.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.Timestamp.Builder getNextRotationTimeBuilder()
Optional. Timestamp in UTC at which the [Secret][google.cloud.secretmanager.v1beta2.Secret] is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years). [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] MUST be set if [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set.
.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.TimestampOrBuilder getNextRotationTimeOrBuilder()
Optional. Timestamp in UTC at which the [Secret][google.cloud.secretmanager.v1beta2.Secret] is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years). [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] MUST be set if [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set.
.google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = OPTIONAL];
getNextRotationTimeOrBuilder in interface RotationOrBuilderpublic boolean hasRotationPeriod()
Input only. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set, [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] must be set. [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] will be advanced by this period when the service automatically sends rotation notifications.
.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = INPUT_ONLY];
hasRotationPeriod in interface RotationOrBuilderpublic com.google.protobuf.Duration getRotationPeriod()
Input only. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set, [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] must be set. [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] will be advanced by this period when the service automatically sends rotation notifications.
.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = INPUT_ONLY];
getRotationPeriod in interface RotationOrBuilderpublic Rotation.Builder setRotationPeriod(com.google.protobuf.Duration value)
Input only. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set, [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] must be set. [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] will be advanced by this period when the service automatically sends rotation notifications.
.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = INPUT_ONLY];
public Rotation.Builder setRotationPeriod(com.google.protobuf.Duration.Builder builderForValue)
Input only. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set, [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] must be set. [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] will be advanced by this period when the service automatically sends rotation notifications.
.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = INPUT_ONLY];
public Rotation.Builder mergeRotationPeriod(com.google.protobuf.Duration value)
Input only. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set, [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] must be set. [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] will be advanced by this period when the service automatically sends rotation notifications.
.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = INPUT_ONLY];
public Rotation.Builder clearRotationPeriod()
Input only. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set, [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] must be set. [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] will be advanced by this period when the service automatically sends rotation notifications.
.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = INPUT_ONLY];
public com.google.protobuf.Duration.Builder getRotationPeriodBuilder()
Input only. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set, [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] must be set. [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] will be advanced by this period when the service automatically sends rotation notifications.
.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = INPUT_ONLY];
public com.google.protobuf.DurationOrBuilder getRotationPeriodOrBuilder()
Input only. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If [rotation_period][google.cloud.secretmanager.v1beta2.Rotation.rotation_period] is set, [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] must be set. [next_rotation_time][google.cloud.secretmanager.v1beta2.Rotation.next_rotation_time] will be advanced by this period when the service automatically sends rotation notifications.
.google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = INPUT_ONLY];
getRotationPeriodOrBuilder in interface RotationOrBuilderpublic final Rotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Rotation.Builder>public final Rotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Rotation.Builder>Copyright © 2024 Google LLC. All rights reserved.