public static final class Rotation.ManagedRotationStatus.Builder extends GeneratedMessage.Builder<Rotation.ManagedRotationStatus.Builder> implements Rotation.ManagedRotationStatusOrBuilderRepresents the status of a managed rotation.
This is applicable only to Typed Secrets. It indicates whether the rotation is active and any errors that may have occurred during the asynchronous managed rotation.
Protobuf type google.cloud.secretmanager.v1.Rotation.ManagedRotationStatus
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Rotation.ManagedRotationStatus.BuilderImplements
Rotation.ManagedRotationStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Rotation.ManagedRotationStatus build()| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus |
|
buildPartial()
public Rotation.ManagedRotationStatus buildPartial()| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus |
|
clear()
public Rotation.ManagedRotationStatus.Builder clear()| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus.Builder |
|
clearError()
public Rotation.ManagedRotationStatus.Builder clearError()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 | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus.Builder |
|
clearState()
public Rotation.ManagedRotationStatus.Builder clearState()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 | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Rotation.ManagedRotationStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getError()
public 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 | |
|---|---|
| Type | Description |
com.google.rpc.Status |
The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()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 | |
|---|---|
| Type | Description |
com.google.rpc.Status.Builder |
|
getErrorOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.StatusOrBuilder |
|
getState()
public 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 | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus.State |
The state. |
getStateValue()
public 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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
hasError()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the error field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeError(Status value)
public Rotation.ManagedRotationStatus.Builder mergeError(Status value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus.Builder |
|
mergeFrom(Rotation.ManagedRotationStatus other)
public Rotation.ManagedRotationStatus.Builder mergeFrom(Rotation.ManagedRotationStatus other)| Parameter | |
|---|---|
| Name | Description |
other |
Rotation.ManagedRotationStatus |
| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Rotation.ManagedRotationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Rotation.ManagedRotationStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus.Builder |
|
setError(Status value)
public Rotation.ManagedRotationStatus.Builder setError(Status value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus.Builder |
|
setError(Status.Builder builderForValue)
public Rotation.ManagedRotationStatus.Builder setError(Status.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus.Builder |
|
setState(Rotation.ManagedRotationStatus.State value)
public Rotation.ManagedRotationStatus.Builder setState(Rotation.ManagedRotationStatus.State value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Rotation.ManagedRotationStatus.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus.Builder |
This builder for chaining. |
setStateValue(int value)
public Rotation.ManagedRotationStatus.Builder setStateValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Rotation.ManagedRotationStatus.Builder |
This builder for chaining. |