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

io.envoyproxy.envoy.admin.v3.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/v3/config_dump.proto

package io.envoyproxy.envoy.admin.v3;

/**
 * 
 * Envoys SDS implementation fills this message with all secrets fetched dynamically via SDS.
 * 
* * Protobuf type {@code envoy.admin.v3.SecretsConfigDump} */ public final class SecretsConfigDump extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3.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.v3.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.v3.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.v3.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 (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().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.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.SecretsConfigDump.class, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.Builder.class); } public interface DynamicSecretOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.admin.v3.SecretsConfigDump.DynamicSecret) com.google.protobuf.MessageOrBuilder { /** *
     * The name assigned to the secret.
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * The name assigned to the secret.
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * This is the per-resource version information.
     * 
* * string version_info = 2; * @return The versionInfo. */ java.lang.String getVersionInfo(); /** *
     * This is the per-resource version information.
     * 
* * string version_info = 2; * @return The bytes for versionInfo. */ com.google.protobuf.ByteString getVersionInfoBytes(); /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; * @return Whether the lastUpdated field is set. */ boolean hasLastUpdated(); /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; * @return The lastUpdated. */ 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.
     * 
* * .google.protobuf.Any secret = 4; * @return Whether the secret field is set. */ boolean hasSecret(); /** *
     * The actual secret information.
     * Security sensitive information is redacted (replaced with "[redacted]") for
     * private keys and passwords in TLS certificates.
     * 
* * .google.protobuf.Any secret = 4; * @return The secret. */ com.google.protobuf.Any getSecret(); /** *
     * The actual secret information.
     * Security sensitive information is redacted (replaced with "[redacted]") for
     * private keys and passwords in TLS certificates.
     * 
* * .google.protobuf.Any secret = 4; */ com.google.protobuf.AnyOrBuilder getSecretOrBuilder(); /** *
     * Set if the last update failed, cleared after the next successful update.
     * The *error_state* field contains the rejected version of this particular
     * resource along with the reason and timestamp. For successfully updated or
     * acknowledged resource, this field should be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; * @return Whether the errorState field is set. */ boolean hasErrorState(); /** *
     * Set if the last update failed, cleared after the next successful update.
     * The *error_state* field contains the rejected version of this particular
     * resource along with the reason and timestamp. For successfully updated or
     * acknowledged resource, this field should be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; * @return The errorState. */ io.envoyproxy.envoy.admin.v3.UpdateFailureState getErrorState(); /** *
     * Set if the last update failed, cleared after the next successful update.
     * The *error_state* field contains the rejected version of this particular
     * resource along with the reason and timestamp. For successfully updated or
     * acknowledged resource, this field should be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; */ io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder getErrorStateOrBuilder(); /** *
     * The client status of this resource.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 6; * @return The enum numeric value on the wire for clientStatus. */ int getClientStatusValue(); /** *
     * The client status of this resource.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 6; * @return The clientStatus. */ io.envoyproxy.envoy.admin.v3.ClientResourceStatus getClientStatus(); } /** *
   * DynamicSecret contains secret information fetched via SDS.
   * [#next-free-field: 7]
   * 
* * Protobuf type {@code envoy.admin.v3.SecretsConfigDump.DynamicSecret} */ public static final class DynamicSecret extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3.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_ = ""; clientStatus_ = 0; } @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: { com.google.protobuf.Any.Builder subBuilder = null; if (secret_ != null) { subBuilder = secret_.toBuilder(); } secret_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(secret_); secret_ = subBuilder.buildPartial(); } break; } case 42: { io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder subBuilder = null; if (errorState_ != null) { subBuilder = errorState_.toBuilder(); } errorState_ = input.readMessage(io.envoyproxy.envoy.admin.v3.UpdateFailureState.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(errorState_); errorState_ = subBuilder.buildPartial(); } break; } case 48: { int rawValue = input.readEnum(); clientStatus_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().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.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_DynamicSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_DynamicSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.class, io.envoyproxy.envoy.admin.v3.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; * @return The name. */ @java.lang.Override 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; * @return The bytes for name. */ @java.lang.Override 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; * @return The versionInfo. */ @java.lang.Override 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; * @return The bytes for versionInfo. */ @java.lang.Override 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; * @return Whether the lastUpdated field is set. */ @java.lang.Override public boolean hasLastUpdated() { return lastUpdated_ != null; } /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; * @return The lastUpdated. */ @java.lang.Override 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; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() { return getLastUpdated(); } public static final int SECRET_FIELD_NUMBER = 4; private com.google.protobuf.Any secret_; /** *
     * The actual secret information.
     * Security sensitive information is redacted (replaced with "[redacted]") for
     * private keys and passwords in TLS certificates.
     * 
* * .google.protobuf.Any secret = 4; * @return Whether the secret field is set. */ @java.lang.Override 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.
     * 
* * .google.protobuf.Any secret = 4; * @return The secret. */ @java.lang.Override public com.google.protobuf.Any getSecret() { return secret_ == null ? com.google.protobuf.Any.getDefaultInstance() : secret_; } /** *
     * The actual secret information.
     * Security sensitive information is redacted (replaced with "[redacted]") for
     * private keys and passwords in TLS certificates.
     * 
* * .google.protobuf.Any secret = 4; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getSecretOrBuilder() { return getSecret(); } public static final int ERROR_STATE_FIELD_NUMBER = 5; private io.envoyproxy.envoy.admin.v3.UpdateFailureState errorState_; /** *
     * Set if the last update failed, cleared after the next successful update.
     * The *error_state* field contains the rejected version of this particular
     * resource along with the reason and timestamp. For successfully updated or
     * acknowledged resource, this field should be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; * @return Whether the errorState field is set. */ @java.lang.Override public boolean hasErrorState() { return errorState_ != null; } /** *
     * Set if the last update failed, cleared after the next successful update.
     * The *error_state* field contains the rejected version of this particular
     * resource along with the reason and timestamp. For successfully updated or
     * acknowledged resource, this field should be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; * @return The errorState. */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.UpdateFailureState getErrorState() { return errorState_ == null ? io.envoyproxy.envoy.admin.v3.UpdateFailureState.getDefaultInstance() : errorState_; } /** *
     * Set if the last update failed, cleared after the next successful update.
     * The *error_state* field contains the rejected version of this particular
     * resource along with the reason and timestamp. For successfully updated or
     * acknowledged resource, this field should be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder getErrorStateOrBuilder() { return getErrorState(); } public static final int CLIENT_STATUS_FIELD_NUMBER = 6; private int clientStatus_; /** *
     * The client status of this resource.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 6; * @return The enum numeric value on the wire for clientStatus. */ @java.lang.Override public int getClientStatusValue() { return clientStatus_; } /** *
     * The client status of this resource.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 6; * @return The clientStatus. */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.ClientResourceStatus getClientStatus() { @SuppressWarnings("deprecation") io.envoyproxy.envoy.admin.v3.ClientResourceStatus result = io.envoyproxy.envoy.admin.v3.ClientResourceStatus.valueOf(clientStatus_); return result == null ? io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNRECOGNIZED : result; } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, versionInfo_); } if (lastUpdated_ != null) { output.writeMessage(3, getLastUpdated()); } if (secret_ != null) { output.writeMessage(4, getSecret()); } if (errorState_ != null) { output.writeMessage(5, getErrorState()); } if (clientStatus_ != io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNKNOWN.getNumber()) { output.writeEnum(6, clientStatus_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) { 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()); } if (errorState_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getErrorState()); } if (clientStatus_ != io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, clientStatus_); } 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.v3.SecretsConfigDump.DynamicSecret)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret other = (io.envoyproxy.envoy.admin.v3.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 (hasErrorState() != other.hasErrorState()) return false; if (hasErrorState()) { if (!getErrorState() .equals(other.getErrorState())) return false; } if (clientStatus_ != other.clientStatus_) 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(); } if (hasErrorState()) { hash = (37 * hash) + ERROR_STATE_FIELD_NUMBER; hash = (53 * hash) + getErrorState().hashCode(); } hash = (37 * hash) + CLIENT_STATUS_FIELD_NUMBER; hash = (53 * hash) + clientStatus_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.
     * [#next-free-field: 7]
     * 
* * Protobuf type {@code envoy.admin.v3.SecretsConfigDump.DynamicSecret} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.SecretsConfigDump.DynamicSecret) io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecretOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_DynamicSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_DynamicSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.class, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.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; } if (errorStateBuilder_ == null) { errorState_ = null; } else { errorState_ = null; errorStateBuilder_ = null; } clientStatus_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.admin.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_DynamicSecret_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret build() { io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret buildPartial() { io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret result = new io.envoyproxy.envoy.admin.v3.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(); } if (errorStateBuilder_ == null) { result.errorState_ = errorState_; } else { result.errorState_ = errorStateBuilder_.build(); } result.clientStatus_ = clientStatus_; 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.v3.SecretsConfigDump.DynamicSecret) { return mergeFrom((io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret other) { if (other == io.envoyproxy.envoy.admin.v3.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()); } if (other.hasErrorState()) { mergeErrorState(other.getErrorState()); } if (other.clientStatus_ != 0) { setClientStatusValue(other.getClientStatusValue()); } 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.v3.SecretsConfigDump.DynamicSecret parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.admin.v3.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; * @return The name. */ 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; * @return The bytes for name. */ 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; * @param value The name to set. * @return This builder for chaining. */ 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; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * The name assigned to the secret.
       * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ 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; * @return The versionInfo. */ 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; * @return The bytes for versionInfo. */ 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; * @param value The versionInfo to set. * @return This builder for chaining. */ 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; * @return This builder for chaining. */ public Builder clearVersionInfo() { versionInfo_ = getDefaultInstance().getVersionInfo(); onChanged(); return this; } /** *
       * This is the per-resource version information.
       * 
* * string version_info = 2; * @param value The bytes for versionInfo to set. * @return This builder for chaining. */ 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; * @return Whether the lastUpdated field is set. */ public boolean hasLastUpdated() { return lastUpdatedBuilder_ != null || lastUpdated_ != null; } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; * @return The lastUpdated. */ 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 com.google.protobuf.Any secret_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> secretBuilder_; /** *
       * The actual secret information.
       * Security sensitive information is redacted (replaced with "[redacted]") for
       * private keys and passwords in TLS certificates.
       * 
* * .google.protobuf.Any secret = 4; * @return Whether the secret field is set. */ 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.
       * 
* * .google.protobuf.Any secret = 4; * @return The secret. */ public com.google.protobuf.Any getSecret() { if (secretBuilder_ == null) { return secret_ == null ? com.google.protobuf.Any.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.
       * 
* * .google.protobuf.Any secret = 4; */ public Builder setSecret(com.google.protobuf.Any 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.
       * 
* * .google.protobuf.Any secret = 4; */ public Builder setSecret( com.google.protobuf.Any.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.
       * 
* * .google.protobuf.Any secret = 4; */ public Builder mergeSecret(com.google.protobuf.Any value) { if (secretBuilder_ == null) { if (secret_ != null) { secret_ = com.google.protobuf.Any.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.
       * 
* * .google.protobuf.Any 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.
       * 
* * .google.protobuf.Any secret = 4; */ public com.google.protobuf.Any.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.
       * 
* * .google.protobuf.Any secret = 4; */ public com.google.protobuf.AnyOrBuilder getSecretOrBuilder() { if (secretBuilder_ != null) { return secretBuilder_.getMessageOrBuilder(); } else { return secret_ == null ? com.google.protobuf.Any.getDefaultInstance() : secret_; } } /** *
       * The actual secret information.
       * Security sensitive information is redacted (replaced with "[redacted]") for
       * private keys and passwords in TLS certificates.
       * 
* * .google.protobuf.Any secret = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getSecretFieldBuilder() { if (secretBuilder_ == null) { secretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getSecret(), getParentForChildren(), isClean()); secret_ = null; } return secretBuilder_; } private io.envoyproxy.envoy.admin.v3.UpdateFailureState errorState_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.admin.v3.UpdateFailureState, io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder, io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder> errorStateBuilder_; /** *
       * Set if the last update failed, cleared after the next successful update.
       * The *error_state* field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; * @return Whether the errorState field is set. */ public boolean hasErrorState() { return errorStateBuilder_ != null || errorState_ != null; } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The *error_state* field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; * @return The errorState. */ public io.envoyproxy.envoy.admin.v3.UpdateFailureState getErrorState() { if (errorStateBuilder_ == null) { return errorState_ == null ? io.envoyproxy.envoy.admin.v3.UpdateFailureState.getDefaultInstance() : errorState_; } else { return errorStateBuilder_.getMessage(); } } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The *error_state* field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; */ public Builder setErrorState(io.envoyproxy.envoy.admin.v3.UpdateFailureState value) { if (errorStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } errorState_ = value; onChanged(); } else { errorStateBuilder_.setMessage(value); } return this; } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The *error_state* field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; */ public Builder setErrorState( io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder builderForValue) { if (errorStateBuilder_ == null) { errorState_ = builderForValue.build(); onChanged(); } else { errorStateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The *error_state* field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; */ public Builder mergeErrorState(io.envoyproxy.envoy.admin.v3.UpdateFailureState value) { if (errorStateBuilder_ == null) { if (errorState_ != null) { errorState_ = io.envoyproxy.envoy.admin.v3.UpdateFailureState.newBuilder(errorState_).mergeFrom(value).buildPartial(); } else { errorState_ = value; } onChanged(); } else { errorStateBuilder_.mergeFrom(value); } return this; } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The *error_state* field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; */ public Builder clearErrorState() { if (errorStateBuilder_ == null) { errorState_ = null; onChanged(); } else { errorState_ = null; errorStateBuilder_ = null; } return this; } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The *error_state* field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; */ public io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder getErrorStateBuilder() { onChanged(); return getErrorStateFieldBuilder().getBuilder(); } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The *error_state* field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; */ public io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder getErrorStateOrBuilder() { if (errorStateBuilder_ != null) { return errorStateBuilder_.getMessageOrBuilder(); } else { return errorState_ == null ? io.envoyproxy.envoy.admin.v3.UpdateFailureState.getDefaultInstance() : errorState_; } } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The *error_state* field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 5; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.admin.v3.UpdateFailureState, io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder, io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder> getErrorStateFieldBuilder() { if (errorStateBuilder_ == null) { errorStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.admin.v3.UpdateFailureState, io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder, io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder>( getErrorState(), getParentForChildren(), isClean()); errorState_ = null; } return errorStateBuilder_; } private int clientStatus_ = 0; /** *
       * The client status of this resource.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 6; * @return The enum numeric value on the wire for clientStatus. */ @java.lang.Override public int getClientStatusValue() { return clientStatus_; } /** *
       * The client status of this resource.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 6; * @param value The enum numeric value on the wire for clientStatus to set. * @return This builder for chaining. */ public Builder setClientStatusValue(int value) { clientStatus_ = value; onChanged(); return this; } /** *
       * The client status of this resource.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 6; * @return The clientStatus. */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.ClientResourceStatus getClientStatus() { @SuppressWarnings("deprecation") io.envoyproxy.envoy.admin.v3.ClientResourceStatus result = io.envoyproxy.envoy.admin.v3.ClientResourceStatus.valueOf(clientStatus_); return result == null ? io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNRECOGNIZED : result; } /** *
       * The client status of this resource.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 6; * @param value The clientStatus to set. * @return This builder for chaining. */ public Builder setClientStatus(io.envoyproxy.envoy.admin.v3.ClientResourceStatus value) { if (value == null) { throw new NullPointerException(); } clientStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * The client status of this resource.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 6; * @return This builder for chaining. */ public Builder clearClientStatus() { clientStatus_ = 0; onChanged(); return this; } @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.v3.SecretsConfigDump.DynamicSecret) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.SecretsConfigDump.DynamicSecret) private static final io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret(); } public static io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StaticSecretOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.admin.v3.SecretsConfigDump.StaticSecret) com.google.protobuf.MessageOrBuilder { /** *
     * The name assigned to the secret.
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * The name assigned to the secret.
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; * @return Whether the lastUpdated field is set. */ boolean hasLastUpdated(); /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; * @return The lastUpdated. */ 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.
     * 
* * .google.protobuf.Any secret = 3; * @return Whether the secret field is set. */ boolean hasSecret(); /** *
     * The actual secret information.
     * Security sensitive information is redacted (replaced with "[redacted]") for
     * private keys and passwords in TLS certificates.
     * 
* * .google.protobuf.Any secret = 3; * @return The secret. */ com.google.protobuf.Any getSecret(); /** *
     * The actual secret information.
     * Security sensitive information is redacted (replaced with "[redacted]") for
     * private keys and passwords in TLS certificates.
     * 
* * .google.protobuf.Any secret = 3; */ com.google.protobuf.AnyOrBuilder getSecretOrBuilder(); } /** *
   * StaticSecret specifies statically loaded secret in bootstrap.
   * 
* * Protobuf type {@code envoy.admin.v3.SecretsConfigDump.StaticSecret} */ public static final class StaticSecret extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3.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: { com.google.protobuf.Any.Builder subBuilder = null; if (secret_ != null) { subBuilder = secret_.toBuilder(); } secret_ = input.readMessage(com.google.protobuf.Any.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 (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().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.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_StaticSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_StaticSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret.class, io.envoyproxy.envoy.admin.v3.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; * @return The name. */ @java.lang.Override 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; * @return The bytes for name. */ @java.lang.Override 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; * @return Whether the lastUpdated field is set. */ @java.lang.Override public boolean hasLastUpdated() { return lastUpdated_ != null; } /** *
     * The timestamp when the secret was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; * @return The lastUpdated. */ @java.lang.Override 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; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() { return getLastUpdated(); } public static final int SECRET_FIELD_NUMBER = 3; private com.google.protobuf.Any secret_; /** *
     * The actual secret information.
     * Security sensitive information is redacted (replaced with "[redacted]") for
     * private keys and passwords in TLS certificates.
     * 
* * .google.protobuf.Any secret = 3; * @return Whether the secret field is set. */ @java.lang.Override 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.
     * 
* * .google.protobuf.Any secret = 3; * @return The secret. */ @java.lang.Override public com.google.protobuf.Any getSecret() { return secret_ == null ? com.google.protobuf.Any.getDefaultInstance() : secret_; } /** *
     * The actual secret information.
     * Security sensitive information is redacted (replaced with "[redacted]") for
     * private keys and passwords in TLS certificates.
     * 
* * .google.protobuf.Any secret = 3; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { 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.v3.SecretsConfigDump.StaticSecret)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret other = (io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.StaticSecret parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.StaticSecret parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.StaticSecret parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.SecretsConfigDump.StaticSecret} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.SecretsConfigDump.StaticSecret) io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecretOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_StaticSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_StaticSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret.class, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.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.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_StaticSecret_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret build() { io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret buildPartial() { io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret result = new io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.StaticSecret) { return mergeFrom((io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret other) { if (other == io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.StaticSecret parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.admin.v3.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; * @return The name. */ 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; * @return The bytes for name. */ 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; * @param value The name to set. * @return This builder for chaining. */ 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; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * The name assigned to the secret.
       * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ 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; * @return Whether the lastUpdated field is set. */ public boolean hasLastUpdated() { return lastUpdatedBuilder_ != null || lastUpdated_ != null; } /** *
       * The timestamp when the secret was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; * @return The lastUpdated. */ 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 com.google.protobuf.Any secret_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> secretBuilder_; /** *
       * The actual secret information.
       * Security sensitive information is redacted (replaced with "[redacted]") for
       * private keys and passwords in TLS certificates.
       * 
* * .google.protobuf.Any secret = 3; * @return Whether the secret field is set. */ 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.
       * 
* * .google.protobuf.Any secret = 3; * @return The secret. */ public com.google.protobuf.Any getSecret() { if (secretBuilder_ == null) { return secret_ == null ? com.google.protobuf.Any.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.
       * 
* * .google.protobuf.Any secret = 3; */ public Builder setSecret(com.google.protobuf.Any 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.
       * 
* * .google.protobuf.Any secret = 3; */ public Builder setSecret( com.google.protobuf.Any.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.
       * 
* * .google.protobuf.Any secret = 3; */ public Builder mergeSecret(com.google.protobuf.Any value) { if (secretBuilder_ == null) { if (secret_ != null) { secret_ = com.google.protobuf.Any.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.
       * 
* * .google.protobuf.Any 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.
       * 
* * .google.protobuf.Any secret = 3; */ public com.google.protobuf.Any.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.
       * 
* * .google.protobuf.Any secret = 3; */ public com.google.protobuf.AnyOrBuilder getSecretOrBuilder() { if (secretBuilder_ != null) { return secretBuilder_.getMessageOrBuilder(); } else { return secret_ == null ? com.google.protobuf.Any.getDefaultInstance() : secret_; } } /** *
       * The actual secret information.
       * Security sensitive information is redacted (replaced with "[redacted]") for
       * private keys and passwords in TLS certificates.
       * 
* * .google.protobuf.Any secret = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getSecretFieldBuilder() { if (secretBuilder_ == null) { secretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( 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.v3.SecretsConfigDump.StaticSecret) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.SecretsConfigDump.StaticSecret) private static final io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret(); } public static io.envoyproxy.envoy.admin.v3.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.v3.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.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ @java.lang.Override public java.util.List getStaticSecretsList() { return staticSecrets_; } /** *
   * The statically loaded secrets.
   * 
* * repeated .envoy.admin.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ @java.lang.Override public java.util.List getStaticSecretsOrBuilderList() { return staticSecrets_; } /** *
   * The statically loaded secrets.
   * 
* * repeated .envoy.admin.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ @java.lang.Override public int getStaticSecretsCount() { return staticSecrets_.size(); } /** *
   * The statically loaded secrets.
   * 
* * repeated .envoy.admin.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret getStaticSecrets(int index) { return staticSecrets_.get(index); } /** *
   * The statically loaded secrets.
   * 
* * repeated .envoy.admin.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ @java.lang.Override 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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ @java.lang.Override 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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ @java.lang.Override 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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ @java.lang.Override 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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ @java.lang.Override 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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ @java.lang.Override 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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.SecretsConfigDump other = (io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.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.v3.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.v3.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.v3.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.v3.SecretsConfigDump} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.SecretsConfigDump) io.envoyproxy.envoy.admin.v3.SecretsConfigDumpOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.SecretsConfigDump.class, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.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.v3.ConfigDumpProto.internal_static_envoy_admin_v3_SecretsConfigDump_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.SecretsConfigDump getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.SecretsConfigDump.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.SecretsConfigDump build() { io.envoyproxy.envoy.admin.v3.SecretsConfigDump result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.SecretsConfigDump buildPartial() { io.envoyproxy.envoy.admin.v3.SecretsConfigDump result = new io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump) { return mergeFrom((io.envoyproxy.envoy.admin.v3.SecretsConfigDump)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.SecretsConfigDump other) { if (other == io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.StaticSecret, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret.Builder, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecretOrBuilder> staticSecretsBuilder_; /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3.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.v3.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.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret getStaticSecrets(int index) { if (staticSecretsBuilder_ == null) { return staticSecrets_.get(index); } else { return staticSecretsBuilder_.getMessage(index); } } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder setStaticSecrets( int index, io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder setStaticSecrets( int index, io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder addStaticSecrets(io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder addStaticSecrets( int index, io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder addStaticSecrets( io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ public Builder addStaticSecrets( int index, io.envoyproxy.envoy.admin.v3.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.v3.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.v3.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.v3.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.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret.Builder getStaticSecretsBuilder( int index) { return getStaticSecretsFieldBuilder().getBuilder(index); } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecretOrBuilder getStaticSecretsOrBuilder( int index) { if (staticSecretsBuilder_ == null) { return staticSecrets_.get(index); } else { return staticSecretsBuilder_.getMessageOrBuilder(index); } } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3.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.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret.Builder addStaticSecretsBuilder() { return getStaticSecretsFieldBuilder().addBuilder( io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret.getDefaultInstance()); } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret.Builder addStaticSecretsBuilder( int index) { return getStaticSecretsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret.getDefaultInstance()); } /** *
     * The statically loaded secrets.
     * 
* * repeated .envoy.admin.v3.SecretsConfigDump.StaticSecret static_secrets = 1; */ public java.util.List getStaticSecretsBuilderList() { return getStaticSecretsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret.Builder, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecretOrBuilder> getStaticSecretsFieldBuilder() { if (staticSecretsBuilder_ == null) { staticSecretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.StaticSecret.Builder, io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.Builder, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecretOrBuilder> dynamicActiveSecretsBuilder_; /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3.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.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder setDynamicActiveSecrets( int index, io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder setDynamicActiveSecrets( int index, io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder addDynamicActiveSecrets(io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder addDynamicActiveSecrets( int index, io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder addDynamicActiveSecrets( io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public Builder addDynamicActiveSecrets( int index, io.envoyproxy.envoy.admin.v3.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.v3.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.v3.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.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public io.envoyproxy.envoy.admin.v3.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.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.Builder addDynamicActiveSecretsBuilder() { return getDynamicActiveSecretsFieldBuilder().addBuilder( io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.getDefaultInstance()); } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.Builder addDynamicActiveSecretsBuilder( int index) { return getDynamicActiveSecretsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.getDefaultInstance()); } /** *
     * The dynamically loaded active secrets. These are secrets that are available to service
     * clusters or listeners.
     * 
* * repeated .envoy.admin.v3.SecretsConfigDump.DynamicSecret dynamic_active_secrets = 2; */ public java.util.List getDynamicActiveSecretsBuilderList() { return getDynamicActiveSecretsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.Builder, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecretOrBuilder> getDynamicActiveSecretsFieldBuilder() { if (dynamicActiveSecretsBuilder_ == null) { dynamicActiveSecretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.Builder, io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.Builder, io.envoyproxy.envoy.admin.v3.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.v3.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.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder setDynamicWarmingSecrets( int index, io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder setDynamicWarmingSecrets( int index, io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder addDynamicWarmingSecrets(io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder addDynamicWarmingSecrets( int index, io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder addDynamicWarmingSecrets( io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public Builder addDynamicWarmingSecrets( int index, io.envoyproxy.envoy.admin.v3.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.v3.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.v3.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.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public io.envoyproxy.envoy.admin.v3.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.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.Builder addDynamicWarmingSecretsBuilder() { return getDynamicWarmingSecretsFieldBuilder().addBuilder( io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.Builder addDynamicWarmingSecretsBuilder( int index) { return getDynamicWarmingSecretsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump.DynamicSecret dynamic_warming_secrets = 3; */ public java.util.List getDynamicWarmingSecretsBuilderList() { return getDynamicWarmingSecretsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.Builder, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecretOrBuilder> getDynamicWarmingSecretsFieldBuilder() { if (dynamicWarmingSecretsBuilder_ == null) { dynamicWarmingSecretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret, io.envoyproxy.envoy.admin.v3.SecretsConfigDump.DynamicSecret.Builder, io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.SecretsConfigDump) private static final io.envoyproxy.envoy.admin.v3.SecretsConfigDump DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.SecretsConfigDump(); } public static io.envoyproxy.envoy.admin.v3.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.v3.SecretsConfigDump getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy