Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/admin/v3alpha/config_dump.proto
package io.envoyproxy.envoy.admin.v3alpha;
/**
*
* Envoys SDS implementation fills this message with all secrets fetched dynamically via SDS.
*
*
* Protobuf type {@code envoy.admin.v3alpha.SecretsConfigDump}
*/
public final class SecretsConfigDump extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.admin.v3alpha.SecretsConfigDump)
SecretsConfigDumpOrBuilder {
private static final long serialVersionUID = 0L;
// Use SecretsConfigDump.newBuilder() to construct.
private SecretsConfigDump(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SecretsConfigDump() {
staticSecrets_ = java.util.Collections.emptyList();
dynamicActiveSecrets_ = java.util.Collections.emptyList();
dynamicWarmingSecrets_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SecretsConfigDump();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SecretsConfigDump(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
staticSecrets_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
staticSecrets_.add(
input.readMessage(io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.parser(), extensionRegistry));
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
dynamicActiveSecrets_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
dynamicActiveSecrets_.add(
input.readMessage(io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
dynamicWarmingSecrets_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
dynamicWarmingSecrets_.add(
input.readMessage(io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
staticSecrets_ = java.util.Collections.unmodifiableList(staticSecrets_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
dynamicActiveSecrets_ = java.util.Collections.unmodifiableList(dynamicActiveSecrets_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
dynamicWarmingSecrets_ = java.util.Collections.unmodifiableList(dynamicWarmingSecrets_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.admin.v3alpha.ConfigDumpProto.internal_static_envoy_admin_v3alpha_SecretsConfigDump_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.admin.v3alpha.ConfigDumpProto.internal_static_envoy_admin_v3alpha_SecretsConfigDump_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.class, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.Builder.class);
}
public interface DynamicSecretOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret)
com.google.protobuf.MessageOrBuilder {
/**
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The timestamp when the secret was last updated.
*
*
* .google.protobuf.Timestamp last_updated = 3;
*/
public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() {
return getLastUpdated();
}
public static final int SECRET_FIELD_NUMBER = 4;
private io.envoyproxy.envoy.api.v3alpha.auth.Secret secret_;
/**
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
*
* .envoy.api.v3alpha.auth.Secret secret = 4;
*/
public io.envoyproxy.envoy.api.v3alpha.auth.SecretOrBuilder getSecretOrBuilder() {
return getSecret();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!getVersionInfoBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, versionInfo_);
}
if (lastUpdated_ != null) {
output.writeMessage(3, getLastUpdated());
}
if (secret_ != null) {
output.writeMessage(4, getSecret());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!getVersionInfoBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, versionInfo_);
}
if (lastUpdated_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getLastUpdated());
}
if (secret_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getSecret());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret)) {
return super.equals(obj);
}
io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret other = (io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getVersionInfo()
.equals(other.getVersionInfo())) return false;
if (hasLastUpdated() != other.hasLastUpdated()) return false;
if (hasLastUpdated()) {
if (!getLastUpdated()
.equals(other.getLastUpdated())) return false;
}
if (hasSecret() != other.hasSecret()) return false;
if (hasSecret()) {
if (!getSecret()
.equals(other.getSecret())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + VERSION_INFO_FIELD_NUMBER;
hash = (53 * hash) + getVersionInfo().hashCode();
if (hasLastUpdated()) {
hash = (37 * hash) + LAST_UPDATED_FIELD_NUMBER;
hash = (53 * hash) + getLastUpdated().hashCode();
}
if (hasSecret()) {
hash = (37 * hash) + SECRET_FIELD_NUMBER;
hash = (53 * hash) + getSecret().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* DynamicSecret contains secret information fetched via SDS.
*
*
* Protobuf type {@code envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret)
io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecretOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.admin.v3alpha.ConfigDumpProto.internal_static_envoy_admin_v3alpha_SecretsConfigDump_DynamicSecret_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.admin.v3alpha.ConfigDumpProto.internal_static_envoy_admin_v3alpha_SecretsConfigDump_DynamicSecret_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.class, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder.class);
}
// Construct using io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
name_ = "";
versionInfo_ = "";
if (lastUpdatedBuilder_ == null) {
lastUpdated_ = null;
} else {
lastUpdated_ = null;
lastUpdatedBuilder_ = null;
}
if (secretBuilder_ == null) {
secret_ = null;
} else {
secret_ = null;
secretBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.admin.v3alpha.ConfigDumpProto.internal_static_envoy_admin_v3alpha_SecretsConfigDump_DynamicSecret_descriptor;
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret getDefaultInstanceForType() {
return io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.getDefaultInstance();
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret build() {
io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret buildPartial() {
io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret result = new io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret(this);
result.name_ = name_;
result.versionInfo_ = versionInfo_;
if (lastUpdatedBuilder_ == null) {
result.lastUpdated_ = lastUpdated_;
} else {
result.lastUpdated_ = lastUpdatedBuilder_.build();
}
if (secretBuilder_ == null) {
result.secret_ = secret_;
} else {
result.secret_ = secretBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret) {
return mergeFrom((io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret other) {
if (other == io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getVersionInfo().isEmpty()) {
versionInfo_ = other.versionInfo_;
onChanged();
}
if (other.hasLastUpdated()) {
mergeLastUpdated(other.getLastUpdated());
}
if (other.hasSecret()) {
mergeSecret(other.getSecret());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
*
* .envoy.api.v3alpha.auth.Secret secret = 4;
*/
public Builder setSecret(io.envoyproxy.envoy.api.v3alpha.auth.Secret value) {
if (secretBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
secret_ = value;
onChanged();
} else {
secretBuilder_.setMessage(value);
}
return this;
}
/**
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
*
* .envoy.api.v3alpha.auth.Secret secret = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v3alpha.auth.Secret, io.envoyproxy.envoy.api.v3alpha.auth.Secret.Builder, io.envoyproxy.envoy.api.v3alpha.auth.SecretOrBuilder>
getSecretFieldBuilder() {
if (secretBuilder_ == null) {
secretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v3alpha.auth.Secret, io.envoyproxy.envoy.api.v3alpha.auth.Secret.Builder, io.envoyproxy.envoy.api.v3alpha.auth.SecretOrBuilder>(
getSecret(),
getParentForChildren(),
isClean());
secret_ = null;
}
return secretBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret)
}
// @@protoc_insertion_point(class_scope:envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret)
private static final io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret();
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DynamicSecret parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DynamicSecret(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StaticSecretOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.admin.v3alpha.SecretsConfigDump.StaticSecret)
com.google.protobuf.MessageOrBuilder {
/**
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The timestamp when the secret was last updated.
*
*
* .google.protobuf.Timestamp last_updated = 2;
*/
public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() {
return getLastUpdated();
}
public static final int SECRET_FIELD_NUMBER = 3;
private io.envoyproxy.envoy.api.v3alpha.auth.Secret secret_;
/**
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
*
* .envoy.api.v3alpha.auth.Secret secret = 3;
*/
public io.envoyproxy.envoy.api.v3alpha.auth.SecretOrBuilder getSecretOrBuilder() {
return getSecret();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (lastUpdated_ != null) {
output.writeMessage(2, getLastUpdated());
}
if (secret_ != null) {
output.writeMessage(3, getSecret());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (lastUpdated_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getLastUpdated());
}
if (secret_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getSecret());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret)) {
return super.equals(obj);
}
io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret other = (io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret) obj;
if (!getName()
.equals(other.getName())) return false;
if (hasLastUpdated() != other.hasLastUpdated()) return false;
if (hasLastUpdated()) {
if (!getLastUpdated()
.equals(other.getLastUpdated())) return false;
}
if (hasSecret() != other.hasSecret()) return false;
if (hasSecret()) {
if (!getSecret()
.equals(other.getSecret())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (hasLastUpdated()) {
hash = (37 * hash) + LAST_UPDATED_FIELD_NUMBER;
hash = (53 * hash) + getLastUpdated().hashCode();
}
if (hasSecret()) {
hash = (37 * hash) + SECRET_FIELD_NUMBER;
hash = (53 * hash) + getSecret().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* StaticSecret specifies statically loaded secret in bootstrap.
*
*
* Protobuf type {@code envoy.admin.v3alpha.SecretsConfigDump.StaticSecret}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:envoy.admin.v3alpha.SecretsConfigDump.StaticSecret)
io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecretOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.admin.v3alpha.ConfigDumpProto.internal_static_envoy_admin_v3alpha_SecretsConfigDump_StaticSecret_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.admin.v3alpha.ConfigDumpProto.internal_static_envoy_admin_v3alpha_SecretsConfigDump_StaticSecret_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.class, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.Builder.class);
}
// Construct using io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
name_ = "";
if (lastUpdatedBuilder_ == null) {
lastUpdated_ = null;
} else {
lastUpdated_ = null;
lastUpdatedBuilder_ = null;
}
if (secretBuilder_ == null) {
secret_ = null;
} else {
secret_ = null;
secretBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.admin.v3alpha.ConfigDumpProto.internal_static_envoy_admin_v3alpha_SecretsConfigDump_StaticSecret_descriptor;
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret getDefaultInstanceForType() {
return io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.getDefaultInstance();
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret build() {
io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret buildPartial() {
io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret result = new io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret(this);
result.name_ = name_;
if (lastUpdatedBuilder_ == null) {
result.lastUpdated_ = lastUpdated_;
} else {
result.lastUpdated_ = lastUpdatedBuilder_.build();
}
if (secretBuilder_ == null) {
result.secret_ = secret_;
} else {
result.secret_ = secretBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret) {
return mergeFrom((io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret other) {
if (other == io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.hasLastUpdated()) {
mergeLastUpdated(other.getLastUpdated());
}
if (other.hasSecret()) {
mergeSecret(other.getSecret());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
*
* .envoy.api.v3alpha.auth.Secret secret = 3;
*/
public Builder setSecret(io.envoyproxy.envoy.api.v3alpha.auth.Secret value) {
if (secretBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
secret_ = value;
onChanged();
} else {
secretBuilder_.setMessage(value);
}
return this;
}
/**
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
*
* .envoy.api.v3alpha.auth.Secret secret = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v3alpha.auth.Secret, io.envoyproxy.envoy.api.v3alpha.auth.Secret.Builder, io.envoyproxy.envoy.api.v3alpha.auth.SecretOrBuilder>
getSecretFieldBuilder() {
if (secretBuilder_ == null) {
secretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v3alpha.auth.Secret, io.envoyproxy.envoy.api.v3alpha.auth.Secret.Builder, io.envoyproxy.envoy.api.v3alpha.auth.SecretOrBuilder>(
getSecret(),
getParentForChildren(),
isClean());
secret_ = null;
}
return secretBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:envoy.admin.v3alpha.SecretsConfigDump.StaticSecret)
}
// @@protoc_insertion_point(class_scope:envoy.admin.v3alpha.SecretsConfigDump.StaticSecret)
private static final io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret();
}
public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StaticSecret parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StaticSecret(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int STATIC_SECRETS_FIELD_NUMBER = 1;
private java.util.List staticSecrets_;
/**
*