All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// 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 name assigned to the secret.
     * 
* * string name = 1; */ java.lang.String getName(); /** *
     * The name assigned to the secret.
     * 
* * string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** *
     * This is the per-resource version information.
     * 
* * string version_info = 2; */ java.lang.String getVersionInfo(); /** *
     * This is the per-resource version information.
     * 
* * string version_info = 2; */ com.google.protobuf.ByteString getVersionInfoBytes(); /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; */ boolean hasLastUpdated(); /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; */ com.google.protobuf.Timestamp getLastUpdated(); /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; */ com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder(); /** *
     * 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; */ boolean hasSecret(); /** *
     * 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; */ io.envoyproxy.envoy.api.v3alpha.auth.Secret getSecret(); /** *
     * 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; */ io.envoyproxy.envoy.api.v3alpha.auth.SecretOrBuilder getSecretOrBuilder(); } /** *
   * DynamicSecret contains secret information fetched via SDS.
   * 
* * Protobuf type {@code envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret} */ public static final class DynamicSecret extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret) DynamicSecretOrBuilder { private static final long serialVersionUID = 0L; // Use DynamicSecret.newBuilder() to construct. private DynamicSecret(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DynamicSecret() { name_ = ""; versionInfo_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DynamicSecret(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DynamicSecret( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); versionInfo_ = s; break; } case 26: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (lastUpdated_ != null) { subBuilder = lastUpdated_.toBuilder(); } lastUpdated_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(lastUpdated_); lastUpdated_ = subBuilder.buildPartial(); } break; } case 34: { io.envoyproxy.envoy.api.v3alpha.auth.Secret.Builder subBuilder = null; if (secret_ != null) { subBuilder = secret_.toBuilder(); } secret_ = input.readMessage(io.envoyproxy.envoy.api.v3alpha.auth.Secret.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(secret_); secret_ = subBuilder.buildPartial(); } 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 { 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_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); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * The name assigned to the secret.
     * 
* * string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * The name assigned to the secret.
     * 
* * string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_INFO_FIELD_NUMBER = 2; private volatile java.lang.Object versionInfo_; /** *
     * This is the per-resource version information.
     * 
* * string version_info = 2; */ public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; } } /** *
     * This is the per-resource version information.
     * 
* * string version_info = 2; */ public com.google.protobuf.ByteString getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); versionInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LAST_UPDATED_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp lastUpdated_; /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; */ public boolean hasLastUpdated() { return lastUpdated_ != null; } /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; */ public com.google.protobuf.Timestamp getLastUpdated() { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } /** *
     * 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.
     * 
* * .envoy.api.v3alpha.auth.Secret secret = 4; */ public boolean hasSecret() { return secret_ != null; } /** *
     * 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.Secret getSecret() { return secret_ == null ? io.envoyproxy.envoy.api.v3alpha.auth.Secret.getDefaultInstance() : secret_; } /** *
     * 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 name assigned to the secret.
       * 
* * string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name assigned to the secret.
       * 
* * string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name assigned to the secret.
       * 
* * string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * The name assigned to the secret.
       * 
* * string name = 1; */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * The name assigned to the secret.
       * 
* * string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.lang.Object versionInfo_ = ""; /** *
       * This is the per-resource version information.
       * 
* * string version_info = 2; */ public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * This is the per-resource version information.
       * 
* * string version_info = 2; */ public com.google.protobuf.ByteString getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); versionInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * This is the per-resource version information.
       * 
* * string version_info = 2; */ public Builder setVersionInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } versionInfo_ = value; onChanged(); return this; } /** *
       * This is the per-resource version information.
       * 
* * string version_info = 2; */ public Builder clearVersionInfo() { versionInfo_ = getDefaultInstance().getVersionInfo(); onChanged(); return this; } /** *
       * This is the per-resource version information.
       * 
* * string version_info = 2; */ public Builder setVersionInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); versionInfo_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp lastUpdated_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdatedBuilder_; /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public boolean hasLastUpdated() { return lastUpdatedBuilder_ != null || lastUpdated_ != null; } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public com.google.protobuf.Timestamp getLastUpdated() { if (lastUpdatedBuilder_ == null) { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } else { return lastUpdatedBuilder_.getMessage(); } } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public Builder setLastUpdated(com.google.protobuf.Timestamp value) { if (lastUpdatedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lastUpdated_ = value; onChanged(); } else { lastUpdatedBuilder_.setMessage(value); } return this; } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public Builder setLastUpdated( com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdatedBuilder_ == null) { lastUpdated_ = builderForValue.build(); onChanged(); } else { lastUpdatedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public Builder mergeLastUpdated(com.google.protobuf.Timestamp value) { if (lastUpdatedBuilder_ == null) { if (lastUpdated_ != null) { lastUpdated_ = com.google.protobuf.Timestamp.newBuilder(lastUpdated_).mergeFrom(value).buildPartial(); } else { lastUpdated_ = value; } onChanged(); } else { lastUpdatedBuilder_.mergeFrom(value); } return this; } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public Builder clearLastUpdated() { if (lastUpdatedBuilder_ == null) { lastUpdated_ = null; onChanged(); } else { lastUpdated_ = null; lastUpdatedBuilder_ = null; } return this; } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder() { onChanged(); return getLastUpdatedFieldBuilder().getBuilder(); } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() { if (lastUpdatedBuilder_ != null) { return lastUpdatedBuilder_.getMessageOrBuilder(); } else { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastUpdatedFieldBuilder() { if (lastUpdatedBuilder_ == null) { lastUpdatedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLastUpdated(), getParentForChildren(), isClean()); lastUpdated_ = null; } return lastUpdatedBuilder_; } private io.envoyproxy.envoy.api.v3alpha.auth.Secret secret_; 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> secretBuilder_; /** *
       * 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 boolean hasSecret() { return secretBuilder_ != null || secret_ != null; } /** *
       * 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.Secret getSecret() { if (secretBuilder_ == null) { return secret_ == null ? io.envoyproxy.envoy.api.v3alpha.auth.Secret.getDefaultInstance() : secret_; } else { return secretBuilder_.getMessage(); } } /** *
       * 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.
       * 
* * .envoy.api.v3alpha.auth.Secret secret = 4; */ public Builder setSecret( io.envoyproxy.envoy.api.v3alpha.auth.Secret.Builder builderForValue) { if (secretBuilder_ == null) { secret_ = builderForValue.build(); onChanged(); } else { secretBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * 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 mergeSecret(io.envoyproxy.envoy.api.v3alpha.auth.Secret value) { if (secretBuilder_ == null) { if (secret_ != null) { secret_ = io.envoyproxy.envoy.api.v3alpha.auth.Secret.newBuilder(secret_).mergeFrom(value).buildPartial(); } else { secret_ = value; } onChanged(); } else { secretBuilder_.mergeFrom(value); } return this; } /** *
       * 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 clearSecret() { if (secretBuilder_ == null) { secret_ = null; onChanged(); } else { secret_ = null; secretBuilder_ = null; } return this; } /** *
       * 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.Secret.Builder getSecretBuilder() { onChanged(); return getSecretFieldBuilder().getBuilder(); } /** *
       * 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() { if (secretBuilder_ != null) { return secretBuilder_.getMessageOrBuilder(); } else { return secret_ == null ? io.envoyproxy.envoy.api.v3alpha.auth.Secret.getDefaultInstance() : secret_; } } /** *
       * 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 name assigned to the secret.
     * 
* * string name = 1; */ java.lang.String getName(); /** *
     * The name assigned to the secret.
     * 
* * string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; */ boolean hasLastUpdated(); /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; */ com.google.protobuf.Timestamp getLastUpdated(); /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; */ com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder(); /** *
     * 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; */ boolean hasSecret(); /** *
     * 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; */ io.envoyproxy.envoy.api.v3alpha.auth.Secret getSecret(); /** *
     * 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; */ io.envoyproxy.envoy.api.v3alpha.auth.SecretOrBuilder getSecretOrBuilder(); } /** *
   * StaticSecret specifies statically loaded secret in bootstrap.
   * 
* * Protobuf type {@code envoy.admin.v3alpha.SecretsConfigDump.StaticSecret} */ public static final class StaticSecret extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3alpha.SecretsConfigDump.StaticSecret) StaticSecretOrBuilder { private static final long serialVersionUID = 0L; // Use StaticSecret.newBuilder() to construct. private StaticSecret(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StaticSecret() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StaticSecret(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StaticSecret( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (lastUpdated_ != null) { subBuilder = lastUpdated_.toBuilder(); } lastUpdated_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(lastUpdated_); lastUpdated_ = subBuilder.buildPartial(); } break; } case 26: { io.envoyproxy.envoy.api.v3alpha.auth.Secret.Builder subBuilder = null; if (secret_ != null) { subBuilder = secret_.toBuilder(); } secret_ = input.readMessage(io.envoyproxy.envoy.api.v3alpha.auth.Secret.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(secret_); secret_ = subBuilder.buildPartial(); } 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 { 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_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); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * The name assigned to the secret.
     * 
* * string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * The name assigned to the secret.
     * 
* * string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LAST_UPDATED_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp lastUpdated_; /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; */ public boolean hasLastUpdated() { return lastUpdated_ != null; } /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; */ public com.google.protobuf.Timestamp getLastUpdated() { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } /** *
     * 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.
     * 
* * .envoy.api.v3alpha.auth.Secret secret = 3; */ public boolean hasSecret() { return secret_ != null; } /** *
     * 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.Secret getSecret() { return secret_ == null ? io.envoyproxy.envoy.api.v3alpha.auth.Secret.getDefaultInstance() : secret_; } /** *
     * 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 name assigned to the secret.
       * 
* * string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name assigned to the secret.
       * 
* * string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name assigned to the secret.
       * 
* * string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * The name assigned to the secret.
       * 
* * string name = 1; */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * The name assigned to the secret.
       * 
* * string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp lastUpdated_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdatedBuilder_; /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public boolean hasLastUpdated() { return lastUpdatedBuilder_ != null || lastUpdated_ != null; } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public com.google.protobuf.Timestamp getLastUpdated() { if (lastUpdatedBuilder_ == null) { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } else { return lastUpdatedBuilder_.getMessage(); } } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public Builder setLastUpdated(com.google.protobuf.Timestamp value) { if (lastUpdatedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lastUpdated_ = value; onChanged(); } else { lastUpdatedBuilder_.setMessage(value); } return this; } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public Builder setLastUpdated( com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdatedBuilder_ == null) { lastUpdated_ = builderForValue.build(); onChanged(); } else { lastUpdatedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public Builder mergeLastUpdated(com.google.protobuf.Timestamp value) { if (lastUpdatedBuilder_ == null) { if (lastUpdated_ != null) { lastUpdated_ = com.google.protobuf.Timestamp.newBuilder(lastUpdated_).mergeFrom(value).buildPartial(); } else { lastUpdated_ = value; } onChanged(); } else { lastUpdatedBuilder_.mergeFrom(value); } return this; } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public Builder clearLastUpdated() { if (lastUpdatedBuilder_ == null) { lastUpdated_ = null; onChanged(); } else { lastUpdated_ = null; lastUpdatedBuilder_ = null; } return this; } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder() { onChanged(); return getLastUpdatedFieldBuilder().getBuilder(); } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() { if (lastUpdatedBuilder_ != null) { return lastUpdatedBuilder_.getMessageOrBuilder(); } else { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastUpdatedFieldBuilder() { if (lastUpdatedBuilder_ == null) { lastUpdatedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLastUpdated(), getParentForChildren(), isClean()); lastUpdated_ = null; } return lastUpdatedBuilder_; } private io.envoyproxy.envoy.api.v3alpha.auth.Secret secret_; 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> secretBuilder_; /** *
       * 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 boolean hasSecret() { return secretBuilder_ != null || secret_ != null; } /** *
       * 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.Secret getSecret() { if (secretBuilder_ == null) { return secret_ == null ? io.envoyproxy.envoy.api.v3alpha.auth.Secret.getDefaultInstance() : secret_; } else { return secretBuilder_.getMessage(); } } /** *
       * 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.
       * 
* * .envoy.api.v3alpha.auth.Secret secret = 3; */ public Builder setSecret( io.envoyproxy.envoy.api.v3alpha.auth.Secret.Builder builderForValue) { if (secretBuilder_ == null) { secret_ = builderForValue.build(); onChanged(); } else { secretBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * 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 mergeSecret(io.envoyproxy.envoy.api.v3alpha.auth.Secret value) { if (secretBuilder_ == null) { if (secret_ != null) { secret_ = io.envoyproxy.envoy.api.v3alpha.auth.Secret.newBuilder(secret_).mergeFrom(value).buildPartial(); } else { secret_ = value; } onChanged(); } else { secretBuilder_.mergeFrom(value); } return this; } /** *
       * 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 clearSecret() { if (secretBuilder_ == null) { secret_ = null; onChanged(); } else { secret_ = null; secretBuilder_ = null; } return this; } /** *
       * 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.Secret.Builder getSecretBuilder() { onChanged(); return getSecretFieldBuilder().getBuilder(); } /** *
       * 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() { if (secretBuilder_ != null) { return secretBuilder_.getMessageOrBuilder(); } else { return secret_ == null ? io.envoyproxy.envoy.api.v3alpha.auth.Secret.getDefaultInstance() : secret_; } } /** *
       * 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_; /** *
   * The statically loaded secrets.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public java.util.List getStaticSecretsList() { return staticSecrets_; } /** *
   * The statically loaded secrets.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public java.util.List getStaticSecretsOrBuilderList() { return staticSecrets_; } /** *
   * The statically loaded secrets.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public int getStaticSecretsCount() { return staticSecrets_.size(); } /** *
   * The statically loaded secrets.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret getStaticSecrets(int index) { return staticSecrets_.get(index); } /** *
   * The statically loaded secrets.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecretOrBuilder getStaticSecretsOrBuilder( int index) { return staticSecrets_.get(index); } public static final int DYNAMIC_ACTIVE_SECRETS_FIELD_NUMBER = 2; private java.util.List dynamicActiveSecrets_; /** *
   * The dynamically loaded active secrets. These are secrets that are available to service
   * clusters or listeners.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public java.util.List getDynamicActiveSecretsList() { return dynamicActiveSecrets_; } /** *
   * The dynamically loaded active secrets. These are secrets that are available to service
   * clusters or listeners.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public java.util.List getDynamicActiveSecretsOrBuilderList() { return dynamicActiveSecrets_; } /** *
   * The dynamically loaded active secrets. These are secrets that are available to service
   * clusters or listeners.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public int getDynamicActiveSecretsCount() { return dynamicActiveSecrets_.size(); } /** *
   * The dynamically loaded active secrets. These are secrets that are available to service
   * clusters or listeners.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret getDynamicActiveSecrets(int index) { return dynamicActiveSecrets_.get(index); } /** *
   * The dynamically loaded active secrets. These are secrets that are available to service
   * clusters or listeners.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecretOrBuilder getDynamicActiveSecretsOrBuilder( int index) { return dynamicActiveSecrets_.get(index); } public static final int DYNAMIC_WARMING_SECRETS_FIELD_NUMBER = 3; private java.util.List dynamicWarmingSecrets_; /** *
   * The dynamically loaded warming secrets. These are secrets that are currently undergoing
   * warming in preparation to service clusters or listeners.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public java.util.List getDynamicWarmingSecretsList() { return dynamicWarmingSecrets_; } /** *
   * The dynamically loaded warming secrets. These are secrets that are currently undergoing
   * warming in preparation to service clusters or listeners.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public java.util.List getDynamicWarmingSecretsOrBuilderList() { return dynamicWarmingSecrets_; } /** *
   * The dynamically loaded warming secrets. These are secrets that are currently undergoing
   * warming in preparation to service clusters or listeners.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public int getDynamicWarmingSecretsCount() { return dynamicWarmingSecrets_.size(); } /** *
   * The dynamically loaded warming secrets. These are secrets that are currently undergoing
   * warming in preparation to service clusters or listeners.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret getDynamicWarmingSecrets(int index) { return dynamicWarmingSecrets_.get(index); } /** *
   * The dynamically loaded warming secrets. These are secrets that are currently undergoing
   * warming in preparation to service clusters or listeners.
   * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecretOrBuilder getDynamicWarmingSecretsOrBuilder( int index) { return dynamicWarmingSecrets_.get(index); } 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 { for (int i = 0; i < staticSecrets_.size(); i++) { output.writeMessage(1, staticSecrets_.get(i)); } for (int i = 0; i < dynamicActiveSecrets_.size(); i++) { output.writeMessage(2, dynamicActiveSecrets_.get(i)); } for (int i = 0; i < dynamicWarmingSecrets_.size(); i++) { output.writeMessage(3, dynamicWarmingSecrets_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < staticSecrets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, staticSecrets_.get(i)); } for (int i = 0; i < dynamicActiveSecrets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, dynamicActiveSecrets_.get(i)); } for (int i = 0; i < dynamicWarmingSecrets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, dynamicWarmingSecrets_.get(i)); } 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)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump other = (io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump) obj; if (!getStaticSecretsList() .equals(other.getStaticSecretsList())) return false; if (!getDynamicActiveSecretsList() .equals(other.getDynamicActiveSecretsList())) return false; if (!getDynamicWarmingSecretsList() .equals(other.getDynamicWarmingSecretsList())) 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(); if (getStaticSecretsCount() > 0) { hash = (37 * hash) + STATIC_SECRETS_FIELD_NUMBER; hash = (53 * hash) + getStaticSecretsList().hashCode(); } if (getDynamicActiveSecretsCount() > 0) { hash = (37 * hash) + DYNAMIC_ACTIVE_SECRETS_FIELD_NUMBER; hash = (53 * hash) + getDynamicActiveSecretsList().hashCode(); } if (getDynamicWarmingSecretsCount() > 0) { hash = (37 * hash) + DYNAMIC_WARMING_SECRETS_FIELD_NUMBER; hash = (53 * hash) + getDynamicWarmingSecretsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump 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 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump 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 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 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 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 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 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 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 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; } /** *
   * Envoys SDS implementation fills this message with all secrets fetched dynamically via SDS.
   * 
* * Protobuf type {@code envoy.admin.v3alpha.SecretsConfigDump} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3alpha.SecretsConfigDump) io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDumpOrBuilder { 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); } // Construct using io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStaticSecretsFieldBuilder(); getDynamicActiveSecretsFieldBuilder(); getDynamicWarmingSecretsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (staticSecretsBuilder_ == null) { staticSecrets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { staticSecretsBuilder_.clear(); } if (dynamicActiveSecretsBuilder_ == null) { dynamicActiveSecrets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { dynamicActiveSecretsBuilder_.clear(); } if (dynamicWarmingSecretsBuilder_ == null) { dynamicWarmingSecrets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { dynamicWarmingSecretsBuilder_.clear(); } 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_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump build() { io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump buildPartial() { io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump result = new io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump(this); int from_bitField0_ = bitField0_; if (staticSecretsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { staticSecrets_ = java.util.Collections.unmodifiableList(staticSecrets_); bitField0_ = (bitField0_ & ~0x00000001); } result.staticSecrets_ = staticSecrets_; } else { result.staticSecrets_ = staticSecretsBuilder_.build(); } if (dynamicActiveSecretsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { dynamicActiveSecrets_ = java.util.Collections.unmodifiableList(dynamicActiveSecrets_); bitField0_ = (bitField0_ & ~0x00000002); } result.dynamicActiveSecrets_ = dynamicActiveSecrets_; } else { result.dynamicActiveSecrets_ = dynamicActiveSecretsBuilder_.build(); } if (dynamicWarmingSecretsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { dynamicWarmingSecrets_ = java.util.Collections.unmodifiableList(dynamicWarmingSecrets_); bitField0_ = (bitField0_ & ~0x00000004); } result.dynamicWarmingSecrets_ = dynamicWarmingSecrets_; } else { result.dynamicWarmingSecrets_ = dynamicWarmingSecretsBuilder_.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) { return mergeFrom((io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump other) { if (other == io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.getDefaultInstance()) return this; if (staticSecretsBuilder_ == null) { if (!other.staticSecrets_.isEmpty()) { if (staticSecrets_.isEmpty()) { staticSecrets_ = other.staticSecrets_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStaticSecretsIsMutable(); staticSecrets_.addAll(other.staticSecrets_); } onChanged(); } } else { if (!other.staticSecrets_.isEmpty()) { if (staticSecretsBuilder_.isEmpty()) { staticSecretsBuilder_.dispose(); staticSecretsBuilder_ = null; staticSecrets_ = other.staticSecrets_; bitField0_ = (bitField0_ & ~0x00000001); staticSecretsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStaticSecretsFieldBuilder() : null; } else { staticSecretsBuilder_.addAllMessages(other.staticSecrets_); } } } if (dynamicActiveSecretsBuilder_ == null) { if (!other.dynamicActiveSecrets_.isEmpty()) { if (dynamicActiveSecrets_.isEmpty()) { dynamicActiveSecrets_ = other.dynamicActiveSecrets_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDynamicActiveSecretsIsMutable(); dynamicActiveSecrets_.addAll(other.dynamicActiveSecrets_); } onChanged(); } } else { if (!other.dynamicActiveSecrets_.isEmpty()) { if (dynamicActiveSecretsBuilder_.isEmpty()) { dynamicActiveSecretsBuilder_.dispose(); dynamicActiveSecretsBuilder_ = null; dynamicActiveSecrets_ = other.dynamicActiveSecrets_; bitField0_ = (bitField0_ & ~0x00000002); dynamicActiveSecretsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDynamicActiveSecretsFieldBuilder() : null; } else { dynamicActiveSecretsBuilder_.addAllMessages(other.dynamicActiveSecrets_); } } } if (dynamicWarmingSecretsBuilder_ == null) { if (!other.dynamicWarmingSecrets_.isEmpty()) { if (dynamicWarmingSecrets_.isEmpty()) { dynamicWarmingSecrets_ = other.dynamicWarmingSecrets_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureDynamicWarmingSecretsIsMutable(); dynamicWarmingSecrets_.addAll(other.dynamicWarmingSecrets_); } onChanged(); } } else { if (!other.dynamicWarmingSecrets_.isEmpty()) { if (dynamicWarmingSecretsBuilder_.isEmpty()) { dynamicWarmingSecretsBuilder_.dispose(); dynamicWarmingSecretsBuilder_ = null; dynamicWarmingSecrets_ = other.dynamicWarmingSecrets_; bitField0_ = (bitField0_ & ~0x00000004); dynamicWarmingSecretsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDynamicWarmingSecretsFieldBuilder() : null; } else { dynamicWarmingSecretsBuilder_.addAllMessages(other.dynamicWarmingSecrets_); } } } 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 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List staticSecrets_ = java.util.Collections.emptyList(); private void ensureStaticSecretsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { staticSecrets_ = new java.util.ArrayList(staticSecrets_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.Builder, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecretOrBuilder> staticSecretsBuilder_; /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public java.util.List getStaticSecretsList() { if (staticSecretsBuilder_ == null) { return java.util.Collections.unmodifiableList(staticSecrets_); } else { return staticSecretsBuilder_.getMessageList(); } } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public int getStaticSecretsCount() { if (staticSecretsBuilder_ == null) { return staticSecrets_.size(); } else { return staticSecretsBuilder_.getCount(); } } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret getStaticSecrets(int index) { if (staticSecretsBuilder_ == null) { return staticSecrets_.get(index); } else { return staticSecretsBuilder_.getMessage(index); } } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder setStaticSecrets( int index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret value) { if (staticSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStaticSecretsIsMutable(); staticSecrets_.set(index, value); onChanged(); } else { staticSecretsBuilder_.setMessage(index, value); } return this; } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder setStaticSecrets( int index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.Builder builderForValue) { if (staticSecretsBuilder_ == null) { ensureStaticSecretsIsMutable(); staticSecrets_.set(index, builderForValue.build()); onChanged(); } else { staticSecretsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder addStaticSecrets(io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret value) { if (staticSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStaticSecretsIsMutable(); staticSecrets_.add(value); onChanged(); } else { staticSecretsBuilder_.addMessage(value); } return this; } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder addStaticSecrets( int index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret value) { if (staticSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStaticSecretsIsMutable(); staticSecrets_.add(index, value); onChanged(); } else { staticSecretsBuilder_.addMessage(index, value); } return this; } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder addStaticSecrets( io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.Builder builderForValue) { if (staticSecretsBuilder_ == null) { ensureStaticSecretsIsMutable(); staticSecrets_.add(builderForValue.build()); onChanged(); } else { staticSecretsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder addStaticSecrets( int index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.Builder builderForValue) { if (staticSecretsBuilder_ == null) { ensureStaticSecretsIsMutable(); staticSecrets_.add(index, builderForValue.build()); onChanged(); } else { staticSecretsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder addAllStaticSecrets( java.lang.Iterable values) { if (staticSecretsBuilder_ == null) { ensureStaticSecretsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, staticSecrets_); onChanged(); } else { staticSecretsBuilder_.addAllMessages(values); } return this; } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder clearStaticSecrets() { if (staticSecretsBuilder_ == null) { staticSecrets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { staticSecretsBuilder_.clear(); } return this; } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder removeStaticSecrets(int index) { if (staticSecretsBuilder_ == null) { ensureStaticSecretsIsMutable(); staticSecrets_.remove(index); onChanged(); } else { staticSecretsBuilder_.remove(index); } return this; } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.Builder getStaticSecretsBuilder( int index) { return getStaticSecretsFieldBuilder().getBuilder(index); } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecretOrBuilder getStaticSecretsOrBuilder( int index) { if (staticSecretsBuilder_ == null) { return staticSecrets_.get(index); } else { return staticSecretsBuilder_.getMessageOrBuilder(index); } } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public java.util.List getStaticSecretsOrBuilderList() { if (staticSecretsBuilder_ != null) { return staticSecretsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(staticSecrets_); } } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.Builder addStaticSecretsBuilder() { return getStaticSecretsFieldBuilder().addBuilder( io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.getDefaultInstance()); } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.Builder addStaticSecretsBuilder( int index) { return getStaticSecretsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.getDefaultInstance()); } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.StaticSecret static_secrets = 1; */ public java.util.List getStaticSecretsBuilderList() { return getStaticSecretsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.Builder, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecretOrBuilder> getStaticSecretsFieldBuilder() { if (staticSecretsBuilder_ == null) { staticSecretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecret.Builder, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.StaticSecretOrBuilder>( staticSecrets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); staticSecrets_ = null; } return staticSecretsBuilder_; } private java.util.List dynamicActiveSecrets_ = java.util.Collections.emptyList(); private void ensureDynamicActiveSecretsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { dynamicActiveSecrets_ = new java.util.ArrayList(dynamicActiveSecrets_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecretOrBuilder> dynamicActiveSecretsBuilder_; /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public java.util.List getDynamicActiveSecretsList() { if (dynamicActiveSecretsBuilder_ == null) { return java.util.Collections.unmodifiableList(dynamicActiveSecrets_); } else { return dynamicActiveSecretsBuilder_.getMessageList(); } } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public int getDynamicActiveSecretsCount() { if (dynamicActiveSecretsBuilder_ == null) { return dynamicActiveSecrets_.size(); } else { return dynamicActiveSecretsBuilder_.getCount(); } } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret getDynamicActiveSecrets(int index) { if (dynamicActiveSecretsBuilder_ == null) { return dynamicActiveSecrets_.get(index); } else { return dynamicActiveSecretsBuilder_.getMessage(index); } } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder setDynamicActiveSecrets( int index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret value) { if (dynamicActiveSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDynamicActiveSecretsIsMutable(); dynamicActiveSecrets_.set(index, value); onChanged(); } else { dynamicActiveSecretsBuilder_.setMessage(index, value); } return this; } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder setDynamicActiveSecrets( int index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder builderForValue) { if (dynamicActiveSecretsBuilder_ == null) { ensureDynamicActiveSecretsIsMutable(); dynamicActiveSecrets_.set(index, builderForValue.build()); onChanged(); } else { dynamicActiveSecretsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder addDynamicActiveSecrets(io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret value) { if (dynamicActiveSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDynamicActiveSecretsIsMutable(); dynamicActiveSecrets_.add(value); onChanged(); } else { dynamicActiveSecretsBuilder_.addMessage(value); } return this; } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder addDynamicActiveSecrets( int index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret value) { if (dynamicActiveSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDynamicActiveSecretsIsMutable(); dynamicActiveSecrets_.add(index, value); onChanged(); } else { dynamicActiveSecretsBuilder_.addMessage(index, value); } return this; } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder addDynamicActiveSecrets( io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder builderForValue) { if (dynamicActiveSecretsBuilder_ == null) { ensureDynamicActiveSecretsIsMutable(); dynamicActiveSecrets_.add(builderForValue.build()); onChanged(); } else { dynamicActiveSecretsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder addDynamicActiveSecrets( int index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder builderForValue) { if (dynamicActiveSecretsBuilder_ == null) { ensureDynamicActiveSecretsIsMutable(); dynamicActiveSecrets_.add(index, builderForValue.build()); onChanged(); } else { dynamicActiveSecretsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder addAllDynamicActiveSecrets( java.lang.Iterable values) { if (dynamicActiveSecretsBuilder_ == null) { ensureDynamicActiveSecretsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dynamicActiveSecrets_); onChanged(); } else { dynamicActiveSecretsBuilder_.addAllMessages(values); } return this; } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder clearDynamicActiveSecrets() { if (dynamicActiveSecretsBuilder_ == null) { dynamicActiveSecrets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { dynamicActiveSecretsBuilder_.clear(); } return this; } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder removeDynamicActiveSecrets(int index) { if (dynamicActiveSecretsBuilder_ == null) { ensureDynamicActiveSecretsIsMutable(); dynamicActiveSecrets_.remove(index); onChanged(); } else { dynamicActiveSecretsBuilder_.remove(index); } return this; } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder getDynamicActiveSecretsBuilder( int index) { return getDynamicActiveSecretsFieldBuilder().getBuilder(index); } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecretOrBuilder getDynamicActiveSecretsOrBuilder( int index) { if (dynamicActiveSecretsBuilder_ == null) { return dynamicActiveSecrets_.get(index); } else { return dynamicActiveSecretsBuilder_.getMessageOrBuilder(index); } } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public java.util.List getDynamicActiveSecretsOrBuilderList() { if (dynamicActiveSecretsBuilder_ != null) { return dynamicActiveSecretsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dynamicActiveSecrets_); } } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder addDynamicActiveSecretsBuilder() { return getDynamicActiveSecretsFieldBuilder().addBuilder( io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.getDefaultInstance()); } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder addDynamicActiveSecretsBuilder( int index) { return getDynamicActiveSecretsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.getDefaultInstance()); } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public java.util.List getDynamicActiveSecretsBuilderList() { return getDynamicActiveSecretsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecretOrBuilder> getDynamicActiveSecretsFieldBuilder() { if (dynamicActiveSecretsBuilder_ == null) { dynamicActiveSecretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecretOrBuilder>( dynamicActiveSecrets_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); dynamicActiveSecrets_ = null; } return dynamicActiveSecretsBuilder_; } private java.util.List dynamicWarmingSecrets_ = java.util.Collections.emptyList(); private void ensureDynamicWarmingSecretsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { dynamicWarmingSecrets_ = new java.util.ArrayList(dynamicWarmingSecrets_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecretOrBuilder> dynamicWarmingSecretsBuilder_; /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public java.util.List getDynamicWarmingSecretsList() { if (dynamicWarmingSecretsBuilder_ == null) { return java.util.Collections.unmodifiableList(dynamicWarmingSecrets_); } else { return dynamicWarmingSecretsBuilder_.getMessageList(); } } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public int getDynamicWarmingSecretsCount() { if (dynamicWarmingSecretsBuilder_ == null) { return dynamicWarmingSecrets_.size(); } else { return dynamicWarmingSecretsBuilder_.getCount(); } } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret getDynamicWarmingSecrets(int index) { if (dynamicWarmingSecretsBuilder_ == null) { return dynamicWarmingSecrets_.get(index); } else { return dynamicWarmingSecretsBuilder_.getMessage(index); } } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder setDynamicWarmingSecrets( int index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret value) { if (dynamicWarmingSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDynamicWarmingSecretsIsMutable(); dynamicWarmingSecrets_.set(index, value); onChanged(); } else { dynamicWarmingSecretsBuilder_.setMessage(index, value); } return this; } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder setDynamicWarmingSecrets( int index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder builderForValue) { if (dynamicWarmingSecretsBuilder_ == null) { ensureDynamicWarmingSecretsIsMutable(); dynamicWarmingSecrets_.set(index, builderForValue.build()); onChanged(); } else { dynamicWarmingSecretsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder addDynamicWarmingSecrets(io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret value) { if (dynamicWarmingSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDynamicWarmingSecretsIsMutable(); dynamicWarmingSecrets_.add(value); onChanged(); } else { dynamicWarmingSecretsBuilder_.addMessage(value); } return this; } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder addDynamicWarmingSecrets( int index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret value) { if (dynamicWarmingSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDynamicWarmingSecretsIsMutable(); dynamicWarmingSecrets_.add(index, value); onChanged(); } else { dynamicWarmingSecretsBuilder_.addMessage(index, value); } return this; } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder addDynamicWarmingSecrets( io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder builderForValue) { if (dynamicWarmingSecretsBuilder_ == null) { ensureDynamicWarmingSecretsIsMutable(); dynamicWarmingSecrets_.add(builderForValue.build()); onChanged(); } else { dynamicWarmingSecretsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder addDynamicWarmingSecrets( int index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder builderForValue) { if (dynamicWarmingSecretsBuilder_ == null) { ensureDynamicWarmingSecretsIsMutable(); dynamicWarmingSecrets_.add(index, builderForValue.build()); onChanged(); } else { dynamicWarmingSecretsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder addAllDynamicWarmingSecrets( java.lang.Iterable values) { if (dynamicWarmingSecretsBuilder_ == null) { ensureDynamicWarmingSecretsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dynamicWarmingSecrets_); onChanged(); } else { dynamicWarmingSecretsBuilder_.addAllMessages(values); } return this; } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder clearDynamicWarmingSecrets() { if (dynamicWarmingSecretsBuilder_ == null) { dynamicWarmingSecrets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { dynamicWarmingSecretsBuilder_.clear(); } return this; } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder removeDynamicWarmingSecrets(int index) { if (dynamicWarmingSecretsBuilder_ == null) { ensureDynamicWarmingSecretsIsMutable(); dynamicWarmingSecrets_.remove(index); onChanged(); } else { dynamicWarmingSecretsBuilder_.remove(index); } return this; } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder getDynamicWarmingSecretsBuilder( int index) { return getDynamicWarmingSecretsFieldBuilder().getBuilder(index); } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecretOrBuilder getDynamicWarmingSecretsOrBuilder( int index) { if (dynamicWarmingSecretsBuilder_ == null) { return dynamicWarmingSecrets_.get(index); } else { return dynamicWarmingSecretsBuilder_.getMessageOrBuilder(index); } } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public java.util.List getDynamicWarmingSecretsOrBuilderList() { if (dynamicWarmingSecretsBuilder_ != null) { return dynamicWarmingSecretsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dynamicWarmingSecrets_); } } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder addDynamicWarmingSecretsBuilder() { return getDynamicWarmingSecretsFieldBuilder().addBuilder( io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.getDefaultInstance()); } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder addDynamicWarmingSecretsBuilder( int index) { return getDynamicWarmingSecretsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.getDefaultInstance()); } /** *
     * The dynamically loaded warming secrets. These are secrets that are currently undergoing
     * warming in preparation to service clusters or listeners.
     * 
* * repeated .envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public java.util.List getDynamicWarmingSecretsBuilderList() { return getDynamicWarmingSecretsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecretOrBuilder> getDynamicWarmingSecretsFieldBuilder() { if (dynamicWarmingSecretsBuilder_ == null) { dynamicWarmingSecretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecret.Builder, io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump.DynamicSecretOrBuilder>( dynamicWarmingSecrets_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); dynamicWarmingSecrets_ = null; } return dynamicWarmingSecretsBuilder_; } @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) } // @@protoc_insertion_point(class_scope:envoy.admin.v3alpha.SecretsConfigDump) private static final io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump(); } public static io.envoyproxy.envoy.admin.v3alpha.SecretsConfigDump getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SecretsConfigDump parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SecretsConfigDump(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 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy