Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
* 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.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* 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:]
*
* 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:]
*
* 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:]
*
* 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.
*
* 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:]
*
* 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]
*
*
* 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_ = "";
/**
*
* 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.
*
* 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.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* 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:]
*
* 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:]
*
* 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:]
*
* 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:]
*
* 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:]
*
* 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:]
*
* 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:]
*
* 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.
*
* 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.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The timestamp when the secret was last updated.
*
*
* .google.protobuf.Timestamp last_updated = 2;
*/
@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.
*
* 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.
*
* 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.
*
* 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.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
* The actual secret information.
* Security sensitive information is redacted (replaced with "[redacted]") for
* private keys and passwords in TLS certificates.
*
*
* .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_;
/**
*