public static final class SecretManagerConfig.RotationConfig extends GeneratedMessage implements SecretManagerConfig.RotationConfigOrBuilderRotationConfig is config for secret manager auto rotation.
Protobuf type google.container.v1beta1.SecretManagerConfig.RotationConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SecretManagerConfig.RotationConfigImplements
SecretManagerConfig.RotationConfigOrBuilderStatic Fields
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ROTATION_INTERVAL_FIELD_NUMBER
public static final int ROTATION_INTERVAL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static SecretManagerConfig.RotationConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SecretManagerConfig.RotationConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig.Builder |
|
newBuilder(SecretManagerConfig.RotationConfig prototype)
public static SecretManagerConfig.RotationConfig.Builder newBuilder(SecretManagerConfig.RotationConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SecretManagerConfig.RotationConfig |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig.Builder |
|
parseDelimitedFrom(InputStream input)
public static SecretManagerConfig.RotationConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecretManagerConfig.RotationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SecretManagerConfig.RotationConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecretManagerConfig.RotationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SecretManagerConfig.RotationConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecretManagerConfig.RotationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SecretManagerConfig.RotationConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecretManagerConfig.RotationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SecretManagerConfig.RotationConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecretManagerConfig.RotationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SecretManagerConfig.RotationConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecretManagerConfig.RotationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SecretManagerConfig.RotationConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<RotationConfig> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SecretManagerConfig.RotationConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
|
getEnabled()
public boolean getEnabled()Whether the rotation is enabled.
optional bool enabled = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enabled. |
getParserForType()
public Parser<SecretManagerConfig.RotationConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<RotationConfig> |
|
getRotationInterval()
public Duration getRotationInterval()The interval between two consecutive rotations. Default rotation interval is 2 minutes.
optional .google.protobuf.Duration rotation_interval = 2;
| Returns | |
|---|---|
| Type | Description |
Duration |
The rotationInterval. |
getRotationIntervalOrBuilder()
public DurationOrBuilder getRotationIntervalOrBuilder()The interval between two consecutive rotations. Default rotation interval is 2 minutes.
optional .google.protobuf.Duration rotation_interval = 2;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasEnabled()
public boolean hasEnabled()Whether the rotation is enabled.
optional bool enabled = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enabled field is set. |
hasRotationInterval()
public boolean hasRotationInterval()The interval between two consecutive rotations. Default rotation interval is 2 minutes.
optional .google.protobuf.Duration rotation_interval = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the rotationInterval field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SecretManagerConfig.RotationConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SecretManagerConfig.RotationConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig.Builder |
|
toBuilder()
public SecretManagerConfig.RotationConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|