Interface RotationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Rotation,Rotation.Builder
@Generated
public interface RotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.com.google.protobuf.DurationInput only.com.google.protobuf.DurationOrBuilderInput only.booleanOptional.booleanInput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasNextRotationTime
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];- Returns:
- Whether the nextRotationTime field is set.
-
getNextRotationTime
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];- Returns:
- The nextRotationTime.
-
getNextRotationTimeOrBuilder
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]; -
hasRotationPeriod
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];- Returns:
- Whether the rotationPeriod field is set.
-
getRotationPeriod
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];- Returns:
- The rotationPeriod.
-
getRotationPeriodOrBuilder
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];
-