Interface Rotation.ManagedRotationStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Rotation.ManagedRotationStatus,Rotation.ManagedRotationStatus.Builder
- Enclosing class:
- Rotation
public static interface Rotation.ManagedRotationStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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
-
getStateValue
int getStateValue()Output only. Indicates whether the Managed Rotation is active or not.
.google.cloud.secretmanager.v1.Rotation.ManagedRotationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
Rotation.ManagedRotationStatus.State getState()Output only. Indicates whether the Managed Rotation is active or not.
.google.cloud.secretmanager.v1.Rotation.ManagedRotationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
hasError
boolean hasError()Output only. Displays customer-facing issues that occurred during an asynchronous managed rotation. For example, if there are some permission errors.
.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the error field is set.
-
getError
Status getError()Output only. Displays customer-facing issues that occurred during an asynchronous managed rotation. For example, if there are some permission errors.
.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The error.
-
getErrorOrBuilder
StatusOrBuilder getErrorOrBuilder()Output only. Displays customer-facing issues that occurred during an asynchronous managed rotation. For example, if there are some permission errors.
.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-