Package io.envoyproxy.envoy.admin.v3
Class SecretsConfigDump.StaticSecret.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<SecretsConfigDump.StaticSecret.Builder>
-
- io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SecretsConfigDump.StaticSecretOrBuilder,java.lang.Cloneable
- Enclosing class:
- SecretsConfigDump.StaticSecret
public static final class SecretsConfigDump.StaticSecret.Builder extends com.google.protobuf.GeneratedMessage.Builder<SecretsConfigDump.StaticSecret.Builder> implements SecretsConfigDump.StaticSecretOrBuilder
StaticSecret specifies statically loaded secret in bootstrap.
Protobuf typeenvoy.admin.v3.SecretsConfigDump.StaticSecret
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private com.google.protobuf.TimestamplastUpdated_private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>lastUpdatedBuilder_private java.lang.Objectname_private com.google.protobuf.Anysecret_private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder>secretBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretsConfigDump.StaticSecretbuild()SecretsConfigDump.StaticSecretbuildPartial()private voidbuildPartial0(SecretsConfigDump.StaticSecret result)SecretsConfigDump.StaticSecret.Builderclear()SecretsConfigDump.StaticSecret.BuilderclearLastUpdated()The timestamp when the secret was last updated.SecretsConfigDump.StaticSecret.BuilderclearName()The name assigned to the secret.SecretsConfigDump.StaticSecret.BuilderclearSecret()The actual secret information.SecretsConfigDump.StaticSecretgetDefaultInstanceForType()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.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>getLastUpdatedFieldBuilder()The timestamp when the secret was last updated.com.google.protobuf.TimestampOrBuildergetLastUpdatedOrBuilder()The timestamp when the secret was last updated.java.lang.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.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder>getSecretFieldBuilder()The actual secret information.com.google.protobuf.AnyOrBuildergetSecretOrBuilder()The actual secret information.booleanhasLastUpdated()The timestamp when the secret was last updated.booleanhasSecret()The actual secret information.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()SecretsConfigDump.StaticSecret.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SecretsConfigDump.StaticSecret.BuildermergeFrom(com.google.protobuf.Message other)SecretsConfigDump.StaticSecret.BuildermergeFrom(SecretsConfigDump.StaticSecret other)SecretsConfigDump.StaticSecret.BuildermergeLastUpdated(com.google.protobuf.Timestamp value)The timestamp when the secret was last updated.SecretsConfigDump.StaticSecret.BuildermergeSecret(com.google.protobuf.Any value)The actual secret information.SecretsConfigDump.StaticSecret.BuildersetLastUpdated(com.google.protobuf.Timestamp value)The timestamp when the secret was last updated.SecretsConfigDump.StaticSecret.BuildersetLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue)The timestamp when the secret was last updated.SecretsConfigDump.StaticSecret.BuildersetName(java.lang.String value)The name assigned to the secret.SecretsConfigDump.StaticSecret.BuildersetNameBytes(com.google.protobuf.ByteString value)The name assigned to the secret.SecretsConfigDump.StaticSecret.BuildersetSecret(com.google.protobuf.Any value)The actual secret information.SecretsConfigDump.StaticSecret.BuildersetSecret(com.google.protobuf.Any.Builder builderForValue)The actual secret information.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
name_
private java.lang.Object name_
-
lastUpdated_
private com.google.protobuf.Timestamp lastUpdated_
-
lastUpdatedBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> lastUpdatedBuilder_
-
secret_
private com.google.protobuf.Any secret_
-
secretBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder> secretBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SecretsConfigDump.StaticSecret.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public SecretsConfigDump.StaticSecret.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SecretsConfigDump.StaticSecret.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.GeneratedMessage.Builder<SecretsConfigDump.StaticSecret.Builder>
-
getDefaultInstanceForType
public SecretsConfigDump.StaticSecret getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SecretsConfigDump.StaticSecret build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SecretsConfigDump.StaticSecret buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(SecretsConfigDump.StaticSecret result)
-
mergeFrom
public SecretsConfigDump.StaticSecret.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecretsConfigDump.StaticSecret.Builder>
-
mergeFrom
public SecretsConfigDump.StaticSecret.Builder mergeFrom(SecretsConfigDump.StaticSecret other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SecretsConfigDump.StaticSecret.Builder>
-
mergeFrom
public SecretsConfigDump.StaticSecret.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.StaticSecret.Builder>- Throws:
java.io.IOException
-
getName
public java.lang.String getName()
The name assigned to the secret.
string name = 1;- Specified by:
getNamein interfaceSecretsConfigDump.StaticSecretOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name assigned to the secret.
string name = 1;- Specified by:
getNameBytesin interfaceSecretsConfigDump.StaticSecretOrBuilder- Returns:
- The bytes for name.
-
setName
public SecretsConfigDump.StaticSecret.Builder setName(java.lang.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.StaticSecret.Builder clearName()
The name assigned to the secret.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public SecretsConfigDump.StaticSecret.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.
-
hasLastUpdated
public boolean hasLastUpdated()
The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 2;- Specified by:
hasLastUpdatedin interfaceSecretsConfigDump.StaticSecretOrBuilder- 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 = 2;- Specified by:
getLastUpdatedin interfaceSecretsConfigDump.StaticSecretOrBuilder- Returns:
- The lastUpdated.
-
setLastUpdated
public SecretsConfigDump.StaticSecret.Builder setLastUpdated(com.google.protobuf.Timestamp value)
The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 2;
-
setLastUpdated
public SecretsConfigDump.StaticSecret.Builder setLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 2;
-
mergeLastUpdated
public SecretsConfigDump.StaticSecret.Builder mergeLastUpdated(com.google.protobuf.Timestamp value)
The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 2;
-
clearLastUpdated
public SecretsConfigDump.StaticSecret.Builder clearLastUpdated()
The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 2;
-
getLastUpdatedBuilder
public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder()
The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 2;
-
getLastUpdatedOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder()
The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 2;- Specified by:
getLastUpdatedOrBuilderin interfaceSecretsConfigDump.StaticSecretOrBuilder
-
getLastUpdatedFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> getLastUpdatedFieldBuilder()
The timestamp when the secret was last updated.
.google.protobuf.Timestamp last_updated = 2;
-
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 = 3;- Specified by:
hasSecretin interfaceSecretsConfigDump.StaticSecretOrBuilder- 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 = 3;- Specified by:
getSecretin interfaceSecretsConfigDump.StaticSecretOrBuilder- Returns:
- The secret.
-
setSecret
public SecretsConfigDump.StaticSecret.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 = 3;
-
setSecret
public SecretsConfigDump.StaticSecret.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 = 3;
-
mergeSecret
public SecretsConfigDump.StaticSecret.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 = 3;
-
clearSecret
public SecretsConfigDump.StaticSecret.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 = 3;
-
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 = 3;
-
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 = 3;- Specified by:
getSecretOrBuilderin interfaceSecretsConfigDump.StaticSecretOrBuilder
-
getSecretFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder> getSecretFieldBuilder()
The actual secret information. Security sensitive information is redacted (replaced with "[redacted]") for private keys and passwords in TLS certificates.
.google.protobuf.Any secret = 3;
-
-