Please wait. This can take some minutes ...
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.
io.envoyproxy.envoy.admin.v2alpha.ServerInfo Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/admin/v2alpha/server_info.proto
package io.envoyproxy.envoy.admin.v2alpha;
/**
*
* Proto representation of the value returned by /server_info, containing
* server version/server status information.
*
*
* Protobuf type {@code envoy.admin.v2alpha.ServerInfo}
*/
public final class ServerInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.admin.v2alpha.ServerInfo)
ServerInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ServerInfo.newBuilder() to construct.
private ServerInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ServerInfo() {
version_ = "";
state_ = 0;
hotRestartVersion_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ServerInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServerInfo(
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();
version_ = s;
break;
}
case 16: {
int rawValue = input.readEnum();
state_ = rawValue;
break;
}
case 26: {
com.google.protobuf.Duration.Builder subBuilder = null;
if (uptimeCurrentEpoch_ != null) {
subBuilder = uptimeCurrentEpoch_.toBuilder();
}
uptimeCurrentEpoch_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(uptimeCurrentEpoch_);
uptimeCurrentEpoch_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.google.protobuf.Duration.Builder subBuilder = null;
if (uptimeAllEpochs_ != null) {
subBuilder = uptimeAllEpochs_.toBuilder();
}
uptimeAllEpochs_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(uptimeAllEpochs_);
uptimeAllEpochs_ = subBuilder.buildPartial();
}
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
hotRestartVersion_ = s;
break;
}
case 50: {
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Builder subBuilder = null;
if (commandLineOptions_ != null) {
subBuilder = commandLineOptions_.toBuilder();
}
commandLineOptions_ = input.readMessage(io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(commandLineOptions_);
commandLineOptions_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.admin.v2alpha.ServerInfoProto.internal_static_envoy_admin_v2alpha_ServerInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.admin.v2alpha.ServerInfoProto.internal_static_envoy_admin_v2alpha_ServerInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.admin.v2alpha.ServerInfo.class, io.envoyproxy.envoy.admin.v2alpha.ServerInfo.Builder.class);
}
/**
* Protobuf enum {@code envoy.admin.v2alpha.ServerInfo.State}
*/
public enum State
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Server is live and serving traffic.
*
*
* LIVE = 0;
*/
LIVE(0),
/**
*
* Server is draining listeners in response to external health checks failing.
*
*
* DRAINING = 1;
*/
DRAINING(1),
/**
*
* Server has not yet completed cluster manager initialization.
*
*
* PRE_INITIALIZING = 2;
*/
PRE_INITIALIZING(2),
/**
*
* Server is running the cluster manager initialization callbacks (e.g., RDS).
*
*
* INITIALIZING = 3;
*/
INITIALIZING(3),
UNRECOGNIZED(-1),
;
/**
*
* Server is live and serving traffic.
*
*
* LIVE = 0;
*/
public static final int LIVE_VALUE = 0;
/**
*
* Server is draining listeners in response to external health checks failing.
*
*
* DRAINING = 1;
*/
public static final int DRAINING_VALUE = 1;
/**
*
* Server has not yet completed cluster manager initialization.
*
*
* PRE_INITIALIZING = 2;
*/
public static final int PRE_INITIALIZING_VALUE = 2;
/**
*
* Server is running the cluster manager initialization callbacks (e.g., RDS).
*
*
* INITIALIZING = 3;
*/
public static final int INITIALIZING_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static State valueOf(int value) {
return forNumber(value);
}
public static State forNumber(int value) {
switch (value) {
case 0: return LIVE;
case 1: return DRAINING;
case 2: return PRE_INITIALIZING;
case 3: return INITIALIZING;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
State> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public State findValueByNumber(int number) {
return State.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return io.envoyproxy.envoy.admin.v2alpha.ServerInfo.getDescriptor().getEnumTypes().get(0);
}
private static final State[] VALUES = values();
public static State valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private State(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:envoy.admin.v2alpha.ServerInfo.State)
}
public static final int VERSION_FIELD_NUMBER = 1;
private volatile java.lang.Object version_;
/**
*
* Server version.
*
*
* string version = 1;
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
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();
version_ = s;
return s;
}
}
/**
*
* Server version.
*
*
* string version = 1;
*/
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATE_FIELD_NUMBER = 2;
private int state_;
/**
*
* State of the server.
*
*
* .envoy.admin.v2alpha.ServerInfo.State state = 2;
*/
public int getStateValue() {
return state_;
}
/**
*
* State of the server.
*
*
* .envoy.admin.v2alpha.ServerInfo.State state = 2;
*/
public io.envoyproxy.envoy.admin.v2alpha.ServerInfo.State getState() {
@SuppressWarnings("deprecation")
io.envoyproxy.envoy.admin.v2alpha.ServerInfo.State result = io.envoyproxy.envoy.admin.v2alpha.ServerInfo.State.valueOf(state_);
return result == null ? io.envoyproxy.envoy.admin.v2alpha.ServerInfo.State.UNRECOGNIZED : result;
}
public static final int UPTIME_CURRENT_EPOCH_FIELD_NUMBER = 3;
private com.google.protobuf.Duration uptimeCurrentEpoch_;
/**
*
* Uptime since current epoch was started.
*
*
* .google.protobuf.Duration uptime_current_epoch = 3;
*/
public boolean hasUptimeCurrentEpoch() {
return uptimeCurrentEpoch_ != null;
}
/**
*
* Uptime since current epoch was started.
*
*
* .google.protobuf.Duration uptime_current_epoch = 3;
*/
public com.google.protobuf.Duration getUptimeCurrentEpoch() {
return uptimeCurrentEpoch_ == null ? com.google.protobuf.Duration.getDefaultInstance() : uptimeCurrentEpoch_;
}
/**
*
* Uptime since current epoch was started.
*
*
* .google.protobuf.Duration uptime_current_epoch = 3;
*/
public com.google.protobuf.DurationOrBuilder getUptimeCurrentEpochOrBuilder() {
return getUptimeCurrentEpoch();
}
public static final int UPTIME_ALL_EPOCHS_FIELD_NUMBER = 4;
private com.google.protobuf.Duration uptimeAllEpochs_;
/**
*
* Uptime since the start of the first epoch.
*
*
* .google.protobuf.Duration uptime_all_epochs = 4;
*/
public boolean hasUptimeAllEpochs() {
return uptimeAllEpochs_ != null;
}
/**
*
* Uptime since the start of the first epoch.
*
*
* .google.protobuf.Duration uptime_all_epochs = 4;
*/
public com.google.protobuf.Duration getUptimeAllEpochs() {
return uptimeAllEpochs_ == null ? com.google.protobuf.Duration.getDefaultInstance() : uptimeAllEpochs_;
}
/**
*
* Uptime since the start of the first epoch.
*
*
* .google.protobuf.Duration uptime_all_epochs = 4;
*/
public com.google.protobuf.DurationOrBuilder getUptimeAllEpochsOrBuilder() {
return getUptimeAllEpochs();
}
public static final int HOT_RESTART_VERSION_FIELD_NUMBER = 5;
private volatile java.lang.Object hotRestartVersion_;
/**
*
* Hot restart version.
*
*
* string hot_restart_version = 5;
*/
public java.lang.String getHotRestartVersion() {
java.lang.Object ref = hotRestartVersion_;
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();
hotRestartVersion_ = s;
return s;
}
}
/**
*
* Hot restart version.
*
*
* string hot_restart_version = 5;
*/
public com.google.protobuf.ByteString
getHotRestartVersionBytes() {
java.lang.Object ref = hotRestartVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hotRestartVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMMAND_LINE_OPTIONS_FIELD_NUMBER = 6;
private io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions commandLineOptions_;
/**
*
* Command line options the server is currently running with.
*
*
* .envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;
*/
public boolean hasCommandLineOptions() {
return commandLineOptions_ != null;
}
/**
*
* Command line options the server is currently running with.
*
*
* .envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;
*/
public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions getCommandLineOptions() {
return commandLineOptions_ == null ? io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.getDefaultInstance() : commandLineOptions_;
}
/**
*
* Command line options the server is currently running with.
*
*
* .envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;
*/
public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptionsOrBuilder getCommandLineOptionsOrBuilder() {
return getCommandLineOptions();
}
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 (!getVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_);
}
if (state_ != io.envoyproxy.envoy.admin.v2alpha.ServerInfo.State.LIVE.getNumber()) {
output.writeEnum(2, state_);
}
if (uptimeCurrentEpoch_ != null) {
output.writeMessage(3, getUptimeCurrentEpoch());
}
if (uptimeAllEpochs_ != null) {
output.writeMessage(4, getUptimeAllEpochs());
}
if (!getHotRestartVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, hotRestartVersion_);
}
if (commandLineOptions_ != null) {
output.writeMessage(6, getCommandLineOptions());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_);
}
if (state_ != io.envoyproxy.envoy.admin.v2alpha.ServerInfo.State.LIVE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, state_);
}
if (uptimeCurrentEpoch_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getUptimeCurrentEpoch());
}
if (uptimeAllEpochs_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getUptimeAllEpochs());
}
if (!getHotRestartVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, hotRestartVersion_);
}
if (commandLineOptions_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getCommandLineOptions());
}
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.ServerInfo)) {
return super.equals(obj);
}
io.envoyproxy.envoy.admin.v2alpha.ServerInfo other = (io.envoyproxy.envoy.admin.v2alpha.ServerInfo) obj;
if (!getVersion()
.equals(other.getVersion())) return false;
if (state_ != other.state_) return false;
if (hasUptimeCurrentEpoch() != other.hasUptimeCurrentEpoch()) return false;
if (hasUptimeCurrentEpoch()) {
if (!getUptimeCurrentEpoch()
.equals(other.getUptimeCurrentEpoch())) return false;
}
if (hasUptimeAllEpochs() != other.hasUptimeAllEpochs()) return false;
if (hasUptimeAllEpochs()) {
if (!getUptimeAllEpochs()
.equals(other.getUptimeAllEpochs())) return false;
}
if (!getHotRestartVersion()
.equals(other.getHotRestartVersion())) return false;
if (hasCommandLineOptions() != other.hasCommandLineOptions()) return false;
if (hasCommandLineOptions()) {
if (!getCommandLineOptions()
.equals(other.getCommandLineOptions())) 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) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + state_;
if (hasUptimeCurrentEpoch()) {
hash = (37 * hash) + UPTIME_CURRENT_EPOCH_FIELD_NUMBER;
hash = (53 * hash) + getUptimeCurrentEpoch().hashCode();
}
if (hasUptimeAllEpochs()) {
hash = (37 * hash) + UPTIME_ALL_EPOCHS_FIELD_NUMBER;
hash = (53 * hash) + getUptimeAllEpochs().hashCode();
}
hash = (37 * hash) + HOT_RESTART_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getHotRestartVersion().hashCode();
if (hasCommandLineOptions()) {
hash = (37 * hash) + COMMAND_LINE_OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getCommandLineOptions().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.admin.v2alpha.ServerInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.ServerInfo 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.ServerInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.ServerInfo 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.ServerInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.ServerInfo 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.ServerInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v2alpha.ServerInfo 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.ServerInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v2alpha.ServerInfo 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.ServerInfo 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.ServerInfo 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.ServerInfo 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;
}
/**
*
* Proto representation of the value returned by /server_info, containing
* server version/server status information.
*
*
* Protobuf type {@code envoy.admin.v2alpha.ServerInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:envoy.admin.v2alpha.ServerInfo)
io.envoyproxy.envoy.admin.v2alpha.ServerInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.admin.v2alpha.ServerInfoProto.internal_static_envoy_admin_v2alpha_ServerInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.admin.v2alpha.ServerInfoProto.internal_static_envoy_admin_v2alpha_ServerInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.admin.v2alpha.ServerInfo.class, io.envoyproxy.envoy.admin.v2alpha.ServerInfo.Builder.class);
}
// Construct using io.envoyproxy.envoy.admin.v2alpha.ServerInfo.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();
version_ = "";
state_ = 0;
if (uptimeCurrentEpochBuilder_ == null) {
uptimeCurrentEpoch_ = null;
} else {
uptimeCurrentEpoch_ = null;
uptimeCurrentEpochBuilder_ = null;
}
if (uptimeAllEpochsBuilder_ == null) {
uptimeAllEpochs_ = null;
} else {
uptimeAllEpochs_ = null;
uptimeAllEpochsBuilder_ = null;
}
hotRestartVersion_ = "";
if (commandLineOptionsBuilder_ == null) {
commandLineOptions_ = null;
} else {
commandLineOptions_ = null;
commandLineOptionsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.admin.v2alpha.ServerInfoProto.internal_static_envoy_admin_v2alpha_ServerInfo_descriptor;
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v2alpha.ServerInfo getDefaultInstanceForType() {
return io.envoyproxy.envoy.admin.v2alpha.ServerInfo.getDefaultInstance();
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v2alpha.ServerInfo build() {
io.envoyproxy.envoy.admin.v2alpha.ServerInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v2alpha.ServerInfo buildPartial() {
io.envoyproxy.envoy.admin.v2alpha.ServerInfo result = new io.envoyproxy.envoy.admin.v2alpha.ServerInfo(this);
result.version_ = version_;
result.state_ = state_;
if (uptimeCurrentEpochBuilder_ == null) {
result.uptimeCurrentEpoch_ = uptimeCurrentEpoch_;
} else {
result.uptimeCurrentEpoch_ = uptimeCurrentEpochBuilder_.build();
}
if (uptimeAllEpochsBuilder_ == null) {
result.uptimeAllEpochs_ = uptimeAllEpochs_;
} else {
result.uptimeAllEpochs_ = uptimeAllEpochsBuilder_.build();
}
result.hotRestartVersion_ = hotRestartVersion_;
if (commandLineOptionsBuilder_ == null) {
result.commandLineOptions_ = commandLineOptions_;
} else {
result.commandLineOptions_ = commandLineOptionsBuilder_.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.v2alpha.ServerInfo) {
return mergeFrom((io.envoyproxy.envoy.admin.v2alpha.ServerInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.admin.v2alpha.ServerInfo other) {
if (other == io.envoyproxy.envoy.admin.v2alpha.ServerInfo.getDefaultInstance()) return this;
if (!other.getVersion().isEmpty()) {
version_ = other.version_;
onChanged();
}
if (other.state_ != 0) {
setStateValue(other.getStateValue());
}
if (other.hasUptimeCurrentEpoch()) {
mergeUptimeCurrentEpoch(other.getUptimeCurrentEpoch());
}
if (other.hasUptimeAllEpochs()) {
mergeUptimeAllEpochs(other.getUptimeAllEpochs());
}
if (!other.getHotRestartVersion().isEmpty()) {
hotRestartVersion_ = other.hotRestartVersion_;
onChanged();
}
if (other.hasCommandLineOptions()) {
mergeCommandLineOptions(other.getCommandLineOptions());
}
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.v2alpha.ServerInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.envoyproxy.envoy.admin.v2alpha.ServerInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object version_ = "";
/**
*
* Server version.
*
*
* string version = 1;
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
version_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Server version.
*
*
* string version = 1;
*/
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Server version.
*
*
* string version = 1;
*/
public Builder setVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
return this;
}
/**
*
* Server version.
*
*
* string version = 1;
*/
public Builder clearVersion() {
version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
/**
*
* Server version.
*
*
* string version = 1;
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
version_ = value;
onChanged();
return this;
}
private int state_ = 0;
/**
*
* State of the server.
*
*
* .envoy.admin.v2alpha.ServerInfo.State state = 2;
*/
public int getStateValue() {
return state_;
}
/**
*
* State of the server.
*
*
* .envoy.admin.v2alpha.ServerInfo.State state = 2;
*/
public Builder setStateValue(int value) {
state_ = value;
onChanged();
return this;
}
/**
*
* State of the server.
*
*
* .envoy.admin.v2alpha.ServerInfo.State state = 2;
*/
public io.envoyproxy.envoy.admin.v2alpha.ServerInfo.State getState() {
@SuppressWarnings("deprecation")
io.envoyproxy.envoy.admin.v2alpha.ServerInfo.State result = io.envoyproxy.envoy.admin.v2alpha.ServerInfo.State.valueOf(state_);
return result == null ? io.envoyproxy.envoy.admin.v2alpha.ServerInfo.State.UNRECOGNIZED : result;
}
/**
*
* State of the server.
*
*
* .envoy.admin.v2alpha.ServerInfo.State state = 2;
*/
public Builder setState(io.envoyproxy.envoy.admin.v2alpha.ServerInfo.State value) {
if (value == null) {
throw new NullPointerException();
}
state_ = value.getNumber();
onChanged();
return this;
}
/**
*
* State of the server.
*
*
* .envoy.admin.v2alpha.ServerInfo.State state = 2;
*/
public Builder clearState() {
state_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Duration uptimeCurrentEpoch_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> uptimeCurrentEpochBuilder_;
/**
*
* Uptime since current epoch was started.
*
*
* .google.protobuf.Duration uptime_current_epoch = 3;
*/
public boolean hasUptimeCurrentEpoch() {
return uptimeCurrentEpochBuilder_ != null || uptimeCurrentEpoch_ != null;
}
/**
*
* Uptime since current epoch was started.
*
*
* .google.protobuf.Duration uptime_current_epoch = 3;
*/
public com.google.protobuf.Duration getUptimeCurrentEpoch() {
if (uptimeCurrentEpochBuilder_ == null) {
return uptimeCurrentEpoch_ == null ? com.google.protobuf.Duration.getDefaultInstance() : uptimeCurrentEpoch_;
} else {
return uptimeCurrentEpochBuilder_.getMessage();
}
}
/**
*
* Uptime since current epoch was started.
*
*
* .google.protobuf.Duration uptime_current_epoch = 3;
*/
public Builder setUptimeCurrentEpoch(com.google.protobuf.Duration value) {
if (uptimeCurrentEpochBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
uptimeCurrentEpoch_ = value;
onChanged();
} else {
uptimeCurrentEpochBuilder_.setMessage(value);
}
return this;
}
/**
*
* Uptime since current epoch was started.
*
*
* .google.protobuf.Duration uptime_current_epoch = 3;
*/
public Builder setUptimeCurrentEpoch(
com.google.protobuf.Duration.Builder builderForValue) {
if (uptimeCurrentEpochBuilder_ == null) {
uptimeCurrentEpoch_ = builderForValue.build();
onChanged();
} else {
uptimeCurrentEpochBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Uptime since current epoch was started.
*
*
* .google.protobuf.Duration uptime_current_epoch = 3;
*/
public Builder mergeUptimeCurrentEpoch(com.google.protobuf.Duration value) {
if (uptimeCurrentEpochBuilder_ == null) {
if (uptimeCurrentEpoch_ != null) {
uptimeCurrentEpoch_ =
com.google.protobuf.Duration.newBuilder(uptimeCurrentEpoch_).mergeFrom(value).buildPartial();
} else {
uptimeCurrentEpoch_ = value;
}
onChanged();
} else {
uptimeCurrentEpochBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Uptime since current epoch was started.
*
*
* .google.protobuf.Duration uptime_current_epoch = 3;
*/
public Builder clearUptimeCurrentEpoch() {
if (uptimeCurrentEpochBuilder_ == null) {
uptimeCurrentEpoch_ = null;
onChanged();
} else {
uptimeCurrentEpoch_ = null;
uptimeCurrentEpochBuilder_ = null;
}
return this;
}
/**
*
* Uptime since current epoch was started.
*
*
* .google.protobuf.Duration uptime_current_epoch = 3;
*/
public com.google.protobuf.Duration.Builder getUptimeCurrentEpochBuilder() {
onChanged();
return getUptimeCurrentEpochFieldBuilder().getBuilder();
}
/**
*
* Uptime since current epoch was started.
*
*
* .google.protobuf.Duration uptime_current_epoch = 3;
*/
public com.google.protobuf.DurationOrBuilder getUptimeCurrentEpochOrBuilder() {
if (uptimeCurrentEpochBuilder_ != null) {
return uptimeCurrentEpochBuilder_.getMessageOrBuilder();
} else {
return uptimeCurrentEpoch_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : uptimeCurrentEpoch_;
}
}
/**
*
* Uptime since current epoch was started.
*
*
* .google.protobuf.Duration uptime_current_epoch = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getUptimeCurrentEpochFieldBuilder() {
if (uptimeCurrentEpochBuilder_ == null) {
uptimeCurrentEpochBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getUptimeCurrentEpoch(),
getParentForChildren(),
isClean());
uptimeCurrentEpoch_ = null;
}
return uptimeCurrentEpochBuilder_;
}
private com.google.protobuf.Duration uptimeAllEpochs_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> uptimeAllEpochsBuilder_;
/**
*
* Uptime since the start of the first epoch.
*
*
* .google.protobuf.Duration uptime_all_epochs = 4;
*/
public boolean hasUptimeAllEpochs() {
return uptimeAllEpochsBuilder_ != null || uptimeAllEpochs_ != null;
}
/**
*
* Uptime since the start of the first epoch.
*
*
* .google.protobuf.Duration uptime_all_epochs = 4;
*/
public com.google.protobuf.Duration getUptimeAllEpochs() {
if (uptimeAllEpochsBuilder_ == null) {
return uptimeAllEpochs_ == null ? com.google.protobuf.Duration.getDefaultInstance() : uptimeAllEpochs_;
} else {
return uptimeAllEpochsBuilder_.getMessage();
}
}
/**
*
* Uptime since the start of the first epoch.
*
*
* .google.protobuf.Duration uptime_all_epochs = 4;
*/
public Builder setUptimeAllEpochs(com.google.protobuf.Duration value) {
if (uptimeAllEpochsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
uptimeAllEpochs_ = value;
onChanged();
} else {
uptimeAllEpochsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Uptime since the start of the first epoch.
*
*
* .google.protobuf.Duration uptime_all_epochs = 4;
*/
public Builder setUptimeAllEpochs(
com.google.protobuf.Duration.Builder builderForValue) {
if (uptimeAllEpochsBuilder_ == null) {
uptimeAllEpochs_ = builderForValue.build();
onChanged();
} else {
uptimeAllEpochsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Uptime since the start of the first epoch.
*
*
* .google.protobuf.Duration uptime_all_epochs = 4;
*/
public Builder mergeUptimeAllEpochs(com.google.protobuf.Duration value) {
if (uptimeAllEpochsBuilder_ == null) {
if (uptimeAllEpochs_ != null) {
uptimeAllEpochs_ =
com.google.protobuf.Duration.newBuilder(uptimeAllEpochs_).mergeFrom(value).buildPartial();
} else {
uptimeAllEpochs_ = value;
}
onChanged();
} else {
uptimeAllEpochsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Uptime since the start of the first epoch.
*
*
* .google.protobuf.Duration uptime_all_epochs = 4;
*/
public Builder clearUptimeAllEpochs() {
if (uptimeAllEpochsBuilder_ == null) {
uptimeAllEpochs_ = null;
onChanged();
} else {
uptimeAllEpochs_ = null;
uptimeAllEpochsBuilder_ = null;
}
return this;
}
/**
*
* Uptime since the start of the first epoch.
*
*
* .google.protobuf.Duration uptime_all_epochs = 4;
*/
public com.google.protobuf.Duration.Builder getUptimeAllEpochsBuilder() {
onChanged();
return getUptimeAllEpochsFieldBuilder().getBuilder();
}
/**
*
* Uptime since the start of the first epoch.
*
*
* .google.protobuf.Duration uptime_all_epochs = 4;
*/
public com.google.protobuf.DurationOrBuilder getUptimeAllEpochsOrBuilder() {
if (uptimeAllEpochsBuilder_ != null) {
return uptimeAllEpochsBuilder_.getMessageOrBuilder();
} else {
return uptimeAllEpochs_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : uptimeAllEpochs_;
}
}
/**
*
* Uptime since the start of the first epoch.
*
*
* .google.protobuf.Duration uptime_all_epochs = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getUptimeAllEpochsFieldBuilder() {
if (uptimeAllEpochsBuilder_ == null) {
uptimeAllEpochsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getUptimeAllEpochs(),
getParentForChildren(),
isClean());
uptimeAllEpochs_ = null;
}
return uptimeAllEpochsBuilder_;
}
private java.lang.Object hotRestartVersion_ = "";
/**
*
* Hot restart version.
*
*
* string hot_restart_version = 5;
*/
public java.lang.String getHotRestartVersion() {
java.lang.Object ref = hotRestartVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hotRestartVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Hot restart version.
*
*
* string hot_restart_version = 5;
*/
public com.google.protobuf.ByteString
getHotRestartVersionBytes() {
java.lang.Object ref = hotRestartVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hotRestartVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Hot restart version.
*
*
* string hot_restart_version = 5;
*/
public Builder setHotRestartVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
hotRestartVersion_ = value;
onChanged();
return this;
}
/**
*
* Hot restart version.
*
*
* string hot_restart_version = 5;
*/
public Builder clearHotRestartVersion() {
hotRestartVersion_ = getDefaultInstance().getHotRestartVersion();
onChanged();
return this;
}
/**
*
* Hot restart version.
*
*
* string hot_restart_version = 5;
*/
public Builder setHotRestartVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
hotRestartVersion_ = value;
onChanged();
return this;
}
private io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions commandLineOptions_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions, io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Builder, io.envoyproxy.envoy.admin.v2alpha.CommandLineOptionsOrBuilder> commandLineOptionsBuilder_;
/**
*
* Command line options the server is currently running with.
*
*
* .envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;
*/
public boolean hasCommandLineOptions() {
return commandLineOptionsBuilder_ != null || commandLineOptions_ != null;
}
/**
*
* Command line options the server is currently running with.
*
*
* .envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;
*/
public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions getCommandLineOptions() {
if (commandLineOptionsBuilder_ == null) {
return commandLineOptions_ == null ? io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.getDefaultInstance() : commandLineOptions_;
} else {
return commandLineOptionsBuilder_.getMessage();
}
}
/**
*
* Command line options the server is currently running with.
*
*
* .envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;
*/
public Builder setCommandLineOptions(io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions value) {
if (commandLineOptionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
commandLineOptions_ = value;
onChanged();
} else {
commandLineOptionsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Command line options the server is currently running with.
*
*
* .envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;
*/
public Builder setCommandLineOptions(
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Builder builderForValue) {
if (commandLineOptionsBuilder_ == null) {
commandLineOptions_ = builderForValue.build();
onChanged();
} else {
commandLineOptionsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Command line options the server is currently running with.
*
*
* .envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;
*/
public Builder mergeCommandLineOptions(io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions value) {
if (commandLineOptionsBuilder_ == null) {
if (commandLineOptions_ != null) {
commandLineOptions_ =
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.newBuilder(commandLineOptions_).mergeFrom(value).buildPartial();
} else {
commandLineOptions_ = value;
}
onChanged();
} else {
commandLineOptionsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Command line options the server is currently running with.
*
*
* .envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;
*/
public Builder clearCommandLineOptions() {
if (commandLineOptionsBuilder_ == null) {
commandLineOptions_ = null;
onChanged();
} else {
commandLineOptions_ = null;
commandLineOptionsBuilder_ = null;
}
return this;
}
/**
*
* Command line options the server is currently running with.
*
*
* .envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;
*/
public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Builder getCommandLineOptionsBuilder() {
onChanged();
return getCommandLineOptionsFieldBuilder().getBuilder();
}
/**
*
* Command line options the server is currently running with.
*
*
* .envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;
*/
public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptionsOrBuilder getCommandLineOptionsOrBuilder() {
if (commandLineOptionsBuilder_ != null) {
return commandLineOptionsBuilder_.getMessageOrBuilder();
} else {
return commandLineOptions_ == null ?
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.getDefaultInstance() : commandLineOptions_;
}
}
/**
*
* Command line options the server is currently running with.
*
*
* .envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions, io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Builder, io.envoyproxy.envoy.admin.v2alpha.CommandLineOptionsOrBuilder>
getCommandLineOptionsFieldBuilder() {
if (commandLineOptionsBuilder_ == null) {
commandLineOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions, io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Builder, io.envoyproxy.envoy.admin.v2alpha.CommandLineOptionsOrBuilder>(
getCommandLineOptions(),
getParentForChildren(),
isClean());
commandLineOptions_ = null;
}
return commandLineOptionsBuilder_;
}
@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.v2alpha.ServerInfo)
}
// @@protoc_insertion_point(class_scope:envoy.admin.v2alpha.ServerInfo)
private static final io.envoyproxy.envoy.admin.v2alpha.ServerInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v2alpha.ServerInfo();
}
public static io.envoyproxy.envoy.admin.v2alpha.ServerInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ServerInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServerInfo(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.v2alpha.ServerInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}