Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/admin/v2alpha/config_dump.proto
package io.envoyproxy.envoy.admin.v2alpha;
/**
*
* This message describes the bootstrap configuration that Envoy was started with. This includes
* any CLI overrides that were merged. Bootstrap configuration information can be used to recreate
* the static portions of an Envoy configuration by reusing the output as the bootstrap
* configuration for another Envoy.
*
*
* Protobuf type {@code envoy.admin.v2alpha.BootstrapConfigDump}
*/
public final class BootstrapConfigDump extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.admin.v2alpha.BootstrapConfigDump)
BootstrapConfigDumpOrBuilder {
private static final long serialVersionUID = 0L;
// Use BootstrapConfigDump.newBuilder() to construct.
private BootstrapConfigDump(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BootstrapConfigDump() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BootstrapConfigDump();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BootstrapConfigDump(
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: {
io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.Builder subBuilder = null;
if (bootstrap_ != null) {
subBuilder = bootstrap_.toBuilder();
}
bootstrap_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(bootstrap_);
bootstrap_ = subBuilder.buildPartial();
}
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;
}
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.v2alpha.ConfigDumpProto.internal_static_envoy_admin_v2alpha_BootstrapConfigDump_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.admin.v2alpha.ConfigDumpProto.internal_static_envoy_admin_v2alpha_BootstrapConfigDump_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.admin.v2alpha.BootstrapConfigDump.class, io.envoyproxy.envoy.admin.v2alpha.BootstrapConfigDump.Builder.class);
}
public static final int BOOTSTRAP_FIELD_NUMBER = 1;
private io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap bootstrap_;
/**
* .envoy.config.bootstrap.v2.Bootstrap bootstrap = 1;
* @return Whether the bootstrap field is set.
*/
@java.lang.Override
public boolean hasBootstrap() {
return bootstrap_ != null;
}
/**
* .envoy.config.bootstrap.v2.Bootstrap bootstrap = 1;
* @return The bootstrap.
*/
@java.lang.Override
public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap getBootstrap() {
return bootstrap_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.getDefaultInstance() : bootstrap_;
}
/**
* .envoy.config.bootstrap.v2.Bootstrap bootstrap = 1;
*/
@java.lang.Override
public io.envoyproxy.envoy.config.bootstrap.v2.BootstrapOrBuilder getBootstrapOrBuilder() {
return getBootstrap();
}
public static final int LAST_UPDATED_FIELD_NUMBER = 2;
private com.google.protobuf.Timestamp lastUpdated_;
/**
*
* The timestamp when the BootstrapConfig 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 BootstrapConfig was last updated.
*
* The timestamp when the BootstrapConfig was last updated.
*
*
* .google.protobuf.Timestamp last_updated = 2;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() {
return getLastUpdated();
}
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 (bootstrap_ != null) {
output.writeMessage(1, getBootstrap());
}
if (lastUpdated_ != null) {
output.writeMessage(2, getLastUpdated());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (bootstrap_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getBootstrap());
}
if (lastUpdated_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getLastUpdated());
}
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.v2alpha.BootstrapConfigDump)) {
return super.equals(obj);
}
io.envoyproxy.envoy.admin.v2alpha.BootstrapConfigDump other = (io.envoyproxy.envoy.admin.v2alpha.BootstrapConfigDump) obj;
if (hasBootstrap() != other.hasBootstrap()) return false;
if (hasBootstrap()) {
if (!getBootstrap()
.equals(other.getBootstrap())) return false;
}
if (hasLastUpdated() != other.hasLastUpdated()) return false;
if (hasLastUpdated()) {
if (!getLastUpdated()
.equals(other.getLastUpdated())) 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 (hasBootstrap()) {
hash = (37 * hash) + BOOTSTRAP_FIELD_NUMBER;
hash = (53 * hash) + getBootstrap().hashCode();
}
if (hasLastUpdated()) {
hash = (37 * hash) + LAST_UPDATED_FIELD_NUMBER;
hash = (53 * hash) + getLastUpdated().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.admin.v2alpha.BootstrapConfigDump parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.BootstrapConfigDump 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.v2alpha.BootstrapConfigDump parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.BootstrapConfigDump 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.v2alpha.BootstrapConfigDump parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.BootstrapConfigDump parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.admin.v2alpha.BootstrapConfigDump parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v2alpha.BootstrapConfigDump 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.v2alpha.BootstrapConfigDump parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v2alpha.BootstrapConfigDump 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.v2alpha.BootstrapConfigDump parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v2alpha.BootstrapConfigDump 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.v2alpha.BootstrapConfigDump 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;
}
/**
*
* This message describes the bootstrap configuration that Envoy was started with. This includes
* any CLI overrides that were merged. Bootstrap configuration information can be used to recreate
* the static portions of an Envoy configuration by reusing the output as the bootstrap
* configuration for another Envoy.
*