Class SecretsConfigDump.DynamicSecret.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
- io.envoyproxy.envoy.admin.v2alpha.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.
Protobuf typeenvoy.admin.v2alpha.SecretsConfigDump.DynamicSecret
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretsConfigDump.DynamicSecret.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SecretsConfigDump.DynamicSecretbuild()SecretsConfigDump.DynamicSecretbuildPartial()SecretsConfigDump.DynamicSecret.Builderclear()SecretsConfigDump.DynamicSecret.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SecretsConfigDump.DynamicSecret.BuilderclearLastUpdated()The timestamp when the secret was last updated.SecretsConfigDump.DynamicSecret.BuilderclearName()The name assigned to the secret.SecretsConfigDump.DynamicSecret.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SecretsConfigDump.DynamicSecret.BuilderclearSecret()The actual secret information.SecretsConfigDump.DynamicSecret.BuilderclearVersionInfo()This is the per-resource version information.SecretsConfigDump.DynamicSecret.Builderclone()SecretsConfigDump.DynamicSecretgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetLastUpdated()The timestamp when the secret was last updated.com.google.protobuf.Timestamp.BuildergetLastUpdatedBuilder()The timestamp when the secret was last updated.com.google.protobuf.TimestampOrBuildergetLastUpdatedOrBuilder()The timestamp when the secret was last updated.StringgetName()The name assigned to the secret.com.google.protobuf.ByteStringgetNameBytes()The name assigned to the secret.com.google.protobuf.AnygetSecret()The actual secret information.com.google.protobuf.Any.BuildergetSecretBuilder()The actual secret information.com.google.protobuf.AnyOrBuildergetSecretOrBuilder()The actual secret information.StringgetVersionInfo()This is the per-resource version information.com.google.protobuf.ByteStringgetVersionInfoBytes()This is the per-resource version information.booleanhasLastUpdated()The timestamp when the secret was last updated.booleanhasSecret()The actual secret information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SecretsConfigDump.DynamicSecret.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SecretsConfigDump.DynamicSecret.BuildermergeFrom(com.google.protobuf.Message other)SecretsConfigDump.DynamicSecret.BuildermergeFrom(SecretsConfigDump.DynamicSecret other)SecretsConfigDump.DynamicSecret.BuildermergeLastUpdated(com.google.protobuf.Timestamp value)The timestamp when the secret was last updated.SecretsConfigDump.DynamicSecret.BuildermergeSecret(com.google.protobuf.Any value)The actual secret information.SecretsConfigDump.DynamicSecret.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SecretsConfigDump.DynamicSecret.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SecretsConfigDump.DynamicSecret.BuildersetLastUpdated(com.google.protobuf.Timestamp value)The timestamp when the secret was last updated.SecretsConfigDump.DynamicSecret.BuildersetLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue)The timestamp when the secret was last updated.SecretsConfigDump.DynamicSecret.BuildersetName(String value)The name assigned to the secret.SecretsConfigDump.DynamicSecret.BuildersetNameBytes(com.google.protobuf.ByteString value)The name assigned to the secret.SecretsConfigDump.DynamicSecret.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SecretsConfigDump.DynamicSecret.BuildersetSecret(com.google.protobuf.Any value)The actual secret information.SecretsConfigDump.DynamicSecret.BuildersetSecret(com.google.protobuf.Any.Builder builderForValue)The actual secret information.SecretsConfigDump.DynamicSecret.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SecretsConfigDump.DynamicSecret.BuildersetVersionInfo(String value)This is the per-resource version information.SecretsConfigDump.DynamicSecret.BuildersetVersionInfoBytes(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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
clear
public SecretsConfigDump.DynamicSecret.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
getDefaultInstanceForType
public SecretsConfigDump.DynamicSecret getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SecretsConfigDump.DynamicSecret build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SecretsConfigDump.DynamicSecret buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SecretsConfigDump.DynamicSecret.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
setField
public SecretsConfigDump.DynamicSecret.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
clearField
public SecretsConfigDump.DynamicSecret.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
clearOneof
public SecretsConfigDump.DynamicSecret.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
addRepeatedField
public SecretsConfigDump.DynamicSecret.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
mergeFrom
public SecretsConfigDump.DynamicSecret.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
mergeFrom
public SecretsConfigDump.DynamicSecret.Builder mergeFrom(SecretsConfigDump.DynamicSecret other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecretsConfigDump.DynamicSecret.Builder>- Throws:
IOException
-
getName
public String getName()
The name assigned to the secret.
string name = 1;- Specified by:
getNamein interfaceSecretsConfigDump.DynamicSecretOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name assigned to the secret.
string name = 1;- Specified by:
getNameBytesin interfaceSecretsConfigDump.DynamicSecretOrBuilder- Returns:
- The bytes for name.
-
setName
public SecretsConfigDump.DynamicSecret.Builder setName(String value)
The name assigned to the secret.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public SecretsConfigDump.DynamicSecret.Builder clearName()
The name assigned to the secret.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public SecretsConfigDump.DynamicSecret.Builder setNameBytes(com.google.protobuf.ByteString value)
The name assigned to the secret.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getVersionInfo
public String getVersionInfo()
This is the per-resource version information.
string version_info = 2;- Specified by:
getVersionInfoin 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:
getVersionInfoBytesin interfaceSecretsConfigDump.DynamicSecretOrBuilder- Returns:
- The bytes for versionInfo.
-
setVersionInfo
public SecretsConfigDump.DynamicSecret.Builder setVersionInfo(String value)
This is the per-resource version information.
string version_info = 2;- Parameters:
value- The versionInfo to set.- Returns:
- This builder for chaining.
-
clearVersionInfo
public SecretsConfigDump.DynamicSecret.Builder 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:
hasLastUpdatedin 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:
getLastUpdatedin interfaceSecretsConfigDump.DynamicSecretOrBuilder- Returns:
- The lastUpdated.
-
setLastUpdated
public SecretsConfigDump.DynamicSecret.Builder setLastUpdated(com.google.protobuf.Timestamp value)
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
public SecretsConfigDump.DynamicSecret.Builder 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:
getLastUpdatedOrBuilderin 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:
hasSecretin 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:
getSecretin interfaceSecretsConfigDump.DynamicSecretOrBuilder- Returns:
- The secret.
-
setSecret
public SecretsConfigDump.DynamicSecret.Builder setSecret(com.google.protobuf.Any value)
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
public SecretsConfigDump.DynamicSecret.Builder mergeSecret(com.google.protobuf.Any value)
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
public SecretsConfigDump.DynamicSecret.Builder 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:
getSecretOrBuilderin interfaceSecretsConfigDump.DynamicSecretOrBuilder
-
setUnknownFields
public final SecretsConfigDump.DynamicSecret.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
mergeUnknownFields
public final SecretsConfigDump.DynamicSecret.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SecretsConfigDump.DynamicSecret.Builder>
-
-