Package io.envoyproxy.envoy.admin.v3
Class SecretsConfigDump.DynamicSecret.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,SecretsConfigDump.DynamicSecretOrBuilder
,Cloneable
- Enclosing class:
- SecretsConfigDump.DynamicSecret
public static final class SecretsConfigDump.DynamicSecret.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
implements SecretsConfigDump.DynamicSecretOrBuilder
DynamicSecret contains secret information fetched via SDS. [#next-free-field: 7]Protobuf type
envoy.admin.v3.SecretsConfigDump.DynamicSecret
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The client status of this resource.Set if the last update failed, cleared after the next successful update.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The timestamp when the secret was last updated.The name assigned to the secret.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The actual secret information.This is the per-resource version information.clone()
The client status of this resource.int
The client status of this resource.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Set if the last update failed, cleared after the next successful update.Set if the last update failed, cleared after the next successful update.Set if the last update failed, cleared after the next successful update.com.google.protobuf.Timestamp
The timestamp when the secret was last updated.com.google.protobuf.Timestamp.Builder
The timestamp when the secret was last updated.com.google.protobuf.TimestampOrBuilder
The timestamp when the secret was last updated.getName()
The name assigned to the secret.com.google.protobuf.ByteString
The name assigned to the secret.com.google.protobuf.Any
The actual secret information.com.google.protobuf.Any.Builder
The actual secret information.com.google.protobuf.AnyOrBuilder
The actual secret information.This is the per-resource version information.com.google.protobuf.ByteString
This is the per-resource version information.boolean
Set if the last update failed, cleared after the next successful update.boolean
The timestamp when the secret was last updated.boolean
The actual secret information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
Set if the last update failed, cleared after the next successful update.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeLastUpdated
(com.google.protobuf.Timestamp value) The timestamp when the secret was last updated.mergeSecret
(com.google.protobuf.Any value) The actual secret information.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) The client status of this resource.setClientStatusValue
(int value) The client status of this resource.setErrorState
(UpdateFailureState value) Set if the last update failed, cleared after the next successful update.setErrorState
(UpdateFailureState.Builder builderForValue) Set if the last update failed, cleared after the next successful update.setLastUpdated
(com.google.protobuf.Timestamp value) The timestamp when the secret was last updated.setLastUpdated
(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp when the secret was last updated.The name assigned to the secret.setNameBytes
(com.google.protobuf.ByteString value) The name assigned to the secret.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSecret
(com.google.protobuf.Any value) The actual secret information.setSecret
(com.google.protobuf.Any.Builder builderForValue) The actual secret information.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVersionInfo
(String value) This is the per-resource version information.setVersionInfoBytes
(com.google.protobuf.ByteString value) This is the per-resource version information.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
setField
public SecretsConfigDump.DynamicSecret.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
clearField
public SecretsConfigDump.DynamicSecret.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
clearOneof
public SecretsConfigDump.DynamicSecret.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
setRepeatedField
public SecretsConfigDump.DynamicSecret.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
addRepeatedField
public SecretsConfigDump.DynamicSecret.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
mergeFrom
public SecretsConfigDump.DynamicSecret.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SecretsConfigDump.DynamicSecret.Builder>
- Throws:
IOException
-
getName
The name assigned to the secret.
string name = 1;
- Specified by:
getName
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name assigned to the secret.
string name = 1;
- Specified by:
getNameBytes
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
- Returns:
- The bytes for name.
-
setName
The name assigned to the secret.
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name assigned to the secret.
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
The name assigned to the secret.
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getVersionInfo
This is the per-resource version information.
string version_info = 2;
- Specified by:
getVersionInfo
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
- Returns:
- The versionInfo.
-
getVersionInfoBytes
public com.google.protobuf.ByteString getVersionInfoBytes()This is the per-resource version information.
string version_info = 2;
- Specified by:
getVersionInfoBytes
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
- Returns:
- The bytes for versionInfo.
-
setVersionInfo
This is the per-resource version information.
string version_info = 2;
- Parameters:
value
- The versionInfo to set.- Returns:
- This builder for chaining.
-
clearVersionInfo
This is the per-resource version information.
string version_info = 2;
- Returns:
- This builder for chaining.
-
setVersionInfoBytes
public SecretsConfigDump.DynamicSecret.Builder setVersionInfoBytes(com.google.protobuf.ByteString value) This is the per-resource version information.
string version_info = 2;
- Parameters:
value
- The bytes for versionInfo to set.- Returns:
- This builder for chaining.
-
hasLastUpdated
public boolean hasLastUpdated()The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 3;
- Specified by:
hasLastUpdated
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
- Returns:
- Whether the lastUpdated field is set.
-
getLastUpdated
public com.google.protobuf.Timestamp getLastUpdated()The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 3;
- Specified by:
getLastUpdated
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
- Returns:
- The lastUpdated.
-
setLastUpdated
The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 3;
-
setLastUpdated
public SecretsConfigDump.DynamicSecret.Builder setLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 3;
-
mergeLastUpdated
public SecretsConfigDump.DynamicSecret.Builder mergeLastUpdated(com.google.protobuf.Timestamp value) The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 3;
-
clearLastUpdated
The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 3;
-
getLastUpdatedBuilder
public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder()The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 3;
-
getLastUpdatedOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder()The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 3;
- Specified by:
getLastUpdatedOrBuilder
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
-
hasSecret
public boolean hasSecret()The actual secret information. Security sensitive information is redacted (replaced with "[redacted]") for private keys and passwords in TLS certificates.
.google.protobuf.Any secret = 4;
- Specified by:
hasSecret
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
- Returns:
- Whether the secret field is set.
-
getSecret
public com.google.protobuf.Any getSecret()The actual secret information. Security sensitive information is redacted (replaced with "[redacted]") for private keys and passwords in TLS certificates.
.google.protobuf.Any secret = 4;
- Specified by:
getSecret
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
- Returns:
- The secret.
-
setSecret
The actual secret information. Security sensitive information is redacted (replaced with "[redacted]") for private keys and passwords in TLS certificates.
.google.protobuf.Any secret = 4;
-
setSecret
public SecretsConfigDump.DynamicSecret.Builder setSecret(com.google.protobuf.Any.Builder builderForValue) The actual secret information. Security sensitive information is redacted (replaced with "[redacted]") for private keys and passwords in TLS certificates.
.google.protobuf.Any secret = 4;
-
mergeSecret
The actual secret information. Security sensitive information is redacted (replaced with "[redacted]") for private keys and passwords in TLS certificates.
.google.protobuf.Any secret = 4;
-
clearSecret
The actual secret information. Security sensitive information is redacted (replaced with "[redacted]") for private keys and passwords in TLS certificates.
.google.protobuf.Any secret = 4;
-
getSecretBuilder
public com.google.protobuf.Any.Builder getSecretBuilder()The actual secret information. Security sensitive information is redacted (replaced with "[redacted]") for private keys and passwords in TLS certificates.
.google.protobuf.Any secret = 4;
-
getSecretOrBuilder
public com.google.protobuf.AnyOrBuilder getSecretOrBuilder()The actual secret information. Security sensitive information is redacted (replaced with "[redacted]") for private keys and passwords in TLS certificates.
.google.protobuf.Any secret = 4;
- Specified by:
getSecretOrBuilder
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
-
hasErrorState
public boolean hasErrorState()Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 5;
- Specified by:
hasErrorState
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
- Returns:
- Whether the errorState field is set.
-
getErrorState
Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 5;
- Specified by:
getErrorState
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
- Returns:
- The errorState.
-
setErrorState
Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 5;
-
setErrorState
public SecretsConfigDump.DynamicSecret.Builder setErrorState(UpdateFailureState.Builder builderForValue) Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 5;
-
mergeErrorState
Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 5;
-
clearErrorState
Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 5;
-
getErrorStateBuilder
Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 5;
-
getErrorStateOrBuilder
Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 5;
- Specified by:
getErrorStateOrBuilder
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
-
getClientStatusValue
public int getClientStatusValue()The client status of this resource. [#not-implemented-hide:]
.envoy.admin.v3.ClientResourceStatus client_status = 6;
- Specified by:
getClientStatusValue
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
- Returns:
- The enum numeric value on the wire for clientStatus.
-
setClientStatusValue
The client status of this resource. [#not-implemented-hide:]
.envoy.admin.v3.ClientResourceStatus client_status = 6;
- Parameters:
value
- The enum numeric value on the wire for clientStatus to set.- Returns:
- This builder for chaining.
-
getClientStatus
The client status of this resource. [#not-implemented-hide:]
.envoy.admin.v3.ClientResourceStatus client_status = 6;
- Specified by:
getClientStatus
in interfaceSecretsConfigDump.DynamicSecretOrBuilder
- Returns:
- The clientStatus.
-
setClientStatus
The client status of this resource. [#not-implemented-hide:]
.envoy.admin.v3.ClientResourceStatus client_status = 6;
- Parameters:
value
- The clientStatus to set.- Returns:
- This builder for chaining.
-
clearClientStatus
The client status of this resource. [#not-implemented-hide:]
.envoy.admin.v3.ClientResourceStatus client_status = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final SecretsConfigDump.DynamicSecret.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
mergeUnknownFields
public final SecretsConfigDump.DynamicSecret.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-