public static final class SecretSyncConfig.SyncRotationConfig extends GeneratedMessage implements SecretSyncConfig.SyncRotationConfigOrBuilderSyncRotationConfig is config for secret manager auto rotation.
Protobuf type google.container.v1beta1.SecretSyncConfig.SyncRotationConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SecretSyncConfig.SyncRotationConfigImplements
SecretSyncConfig.SyncRotationConfigOrBuilderStatic 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 SecretSyncConfig.SyncRotationConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SecretSyncConfig.SyncRotationConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig.Builder |
|
newBuilder(SecretSyncConfig.SyncRotationConfig prototype)
public static SecretSyncConfig.SyncRotationConfig.Builder newBuilder(SecretSyncConfig.SyncRotationConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SecretSyncConfig.SyncRotationConfig |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig.Builder |
|
parseDelimitedFrom(InputStream input)
public static SecretSyncConfig.SyncRotationConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecretSyncConfig.SyncRotationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SecretSyncConfig.SyncRotationConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecretSyncConfig.SyncRotationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SecretSyncConfig.SyncRotationConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecretSyncConfig.SyncRotationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SecretSyncConfig.SyncRotationConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecretSyncConfig.SyncRotationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SecretSyncConfig.SyncRotationConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecretSyncConfig.SyncRotationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SecretSyncConfig.SyncRotationConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecretSyncConfig.SyncRotationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SecretSyncConfig.SyncRotationConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SyncRotationConfig> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SecretSyncConfig.SyncRotationConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
|
getEnabled()
public boolean getEnabled()Whether the rotation is enabled.
optional bool enabled = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enabled. |
getParserForType()
public Parser<SecretSyncConfig.SyncRotationConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SyncRotationConfig> |
|
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 SecretSyncConfig.SyncRotationConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SecretSyncConfig.SyncRotationConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig.Builder |
|
toBuilder()
public SecretSyncConfig.SyncRotationConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|