public final class SecretSyncConfig extends GeneratedMessage implements SecretSyncConfigOrBuilderConfiguration for sync Secret Manager secrets as k8s secrets.
Protobuf type google.container.v1beta1.SecretSyncConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SecretSyncConfigImplements
SecretSyncConfigOrBuilderStatic Fields
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ROTATION_CONFIG_FIELD_NUMBER
public static final int ROTATION_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static SecretSyncConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SecretSyncConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.Builder |
|
newBuilder(SecretSyncConfig prototype)
public static SecretSyncConfig.Builder newBuilder(SecretSyncConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SecretSyncConfig |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.Builder |
|
parseDelimitedFrom(InputStream input)
public static SecretSyncConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecretSyncConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SecretSyncConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecretSyncConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SecretSyncConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecretSyncConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SecretSyncConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecretSyncConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SecretSyncConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecretSyncConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SecretSyncConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecretSyncConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SecretSyncConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SecretSyncConfig> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SecretSyncConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig |
|
getEnabled()
public boolean getEnabled()Enable/Disable Secret Sync Config.
optional bool enabled = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enabled. |
getParserForType()
public Parser<SecretSyncConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SecretSyncConfig> |
|
getRotationConfig()
public SecretSyncConfig.SyncRotationConfig getRotationConfig()Rotation config for secret manager.
optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2;
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfig |
The rotationConfig. |
getRotationConfigOrBuilder()
public SecretSyncConfig.SyncRotationConfigOrBuilder getRotationConfigOrBuilder()Rotation config for secret manager.
optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2;
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.SyncRotationConfigOrBuilder |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasEnabled()
public boolean hasEnabled()Enable/Disable Secret Sync Config.
optional bool enabled = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enabled field is set. |
hasRotationConfig()
public boolean hasRotationConfig()Rotation config for secret manager.
optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the rotationConfig 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.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SecretSyncConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.Builder |
|
toBuilder()
public SecretSyncConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|