public final class ServerInfo extends com.google.protobuf.GeneratedMessageV3 implements ServerInfoOrBuilder
Proto representation of the value returned by /server_info, containing server version/server status information. [#next-free-field: 8]Protobuf type
envoy.admin.v3.ServerInfo| Modifier and Type | Class and Description |
|---|---|
static class |
ServerInfo.Builder
Proto representation of the value returned by /server_info, containing
server version/server status information.
|
static class |
ServerInfo.State
Protobuf enum
envoy.admin.v3.ServerInfo.State |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COMMAND_LINE_OPTIONS_FIELD_NUMBER |
static int |
HOT_RESTART_VERSION_FIELD_NUMBER |
static int |
NODE_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
UPTIME_ALL_EPOCHS_FIELD_NUMBER |
static int |
UPTIME_CURRENT_EPOCH_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CommandLineOptions |
getCommandLineOptions()
Command line options the server is currently running with.
|
CommandLineOptionsOrBuilder |
getCommandLineOptionsOrBuilder()
Command line options the server is currently running with.
|
static ServerInfo |
getDefaultInstance() |
ServerInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHotRestartVersion()
Hot restart version.
|
com.google.protobuf.ByteString |
getHotRestartVersionBytes()
Hot restart version.
|
Node |
getNode()
Populated node identity of this server.
|
NodeOrBuilder |
getNodeOrBuilder()
Populated node identity of this server.
|
com.google.protobuf.Parser<ServerInfo> |
getParserForType() |
int |
getSerializedSize() |
ServerInfo.State |
getState()
State of the server.
|
int |
getStateValue()
State of the server.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Duration |
getUptimeAllEpochs()
Uptime since the start of the first epoch.
|
com.google.protobuf.DurationOrBuilder |
getUptimeAllEpochsOrBuilder()
Uptime since the start of the first epoch.
|
com.google.protobuf.Duration |
getUptimeCurrentEpoch()
Uptime since current epoch was started.
|
com.google.protobuf.DurationOrBuilder |
getUptimeCurrentEpochOrBuilder()
Uptime since current epoch was started.
|
String |
getVersion()
Server version.
|
com.google.protobuf.ByteString |
getVersionBytes()
Server version.
|
boolean |
hasCommandLineOptions()
Command line options the server is currently running with.
|
int |
hashCode() |
boolean |
hasNode()
Populated node identity of this server.
|
boolean |
hasUptimeAllEpochs()
Uptime since the start of the first epoch.
|
boolean |
hasUptimeCurrentEpoch()
Uptime since current epoch was started.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ServerInfo.Builder |
newBuilder() |
static ServerInfo.Builder |
newBuilder(ServerInfo prototype) |
ServerInfo.Builder |
newBuilderForType() |
protected ServerInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ServerInfo |
parseDelimitedFrom(InputStream input) |
static ServerInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerInfo |
parseFrom(byte[] data) |
static ServerInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerInfo |
parseFrom(ByteBuffer data) |
static ServerInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerInfo |
parseFrom(com.google.protobuf.ByteString data) |
static ServerInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ServerInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerInfo |
parseFrom(InputStream input) |
static ServerInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ServerInfo> |
parser() |
ServerInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VERSION_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int UPTIME_CURRENT_EPOCH_FIELD_NUMBER
public static final int UPTIME_ALL_EPOCHS_FIELD_NUMBER
public static final int HOT_RESTART_VERSION_FIELD_NUMBER
public static final int COMMAND_LINE_OPTIONS_FIELD_NUMBER
public static final int NODE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getVersion()
Server version.
string version = 1;getVersion in interface ServerInfoOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
Server version.
string version = 1;getVersionBytes in interface ServerInfoOrBuilderpublic int getStateValue()
State of the server.
.envoy.admin.v3.ServerInfo.State state = 2;getStateValue in interface ServerInfoOrBuilderpublic ServerInfo.State getState()
State of the server.
.envoy.admin.v3.ServerInfo.State state = 2;getState in interface ServerInfoOrBuilderpublic boolean hasUptimeCurrentEpoch()
Uptime since current epoch was started.
.google.protobuf.Duration uptime_current_epoch = 3;hasUptimeCurrentEpoch in interface ServerInfoOrBuilderpublic com.google.protobuf.Duration getUptimeCurrentEpoch()
Uptime since current epoch was started.
.google.protobuf.Duration uptime_current_epoch = 3;getUptimeCurrentEpoch in interface ServerInfoOrBuilderpublic com.google.protobuf.DurationOrBuilder getUptimeCurrentEpochOrBuilder()
Uptime since current epoch was started.
.google.protobuf.Duration uptime_current_epoch = 3;getUptimeCurrentEpochOrBuilder in interface ServerInfoOrBuilderpublic boolean hasUptimeAllEpochs()
Uptime since the start of the first epoch.
.google.protobuf.Duration uptime_all_epochs = 4;hasUptimeAllEpochs in interface ServerInfoOrBuilderpublic com.google.protobuf.Duration getUptimeAllEpochs()
Uptime since the start of the first epoch.
.google.protobuf.Duration uptime_all_epochs = 4;getUptimeAllEpochs in interface ServerInfoOrBuilderpublic com.google.protobuf.DurationOrBuilder getUptimeAllEpochsOrBuilder()
Uptime since the start of the first epoch.
.google.protobuf.Duration uptime_all_epochs = 4;getUptimeAllEpochsOrBuilder in interface ServerInfoOrBuilderpublic String getHotRestartVersion()
Hot restart version.
string hot_restart_version = 5;getHotRestartVersion in interface ServerInfoOrBuilderpublic com.google.protobuf.ByteString getHotRestartVersionBytes()
Hot restart version.
string hot_restart_version = 5;getHotRestartVersionBytes in interface ServerInfoOrBuilderpublic boolean hasCommandLineOptions()
Command line options the server is currently running with.
.envoy.admin.v3.CommandLineOptions command_line_options = 6;hasCommandLineOptions in interface ServerInfoOrBuilderpublic CommandLineOptions getCommandLineOptions()
Command line options the server is currently running with.
.envoy.admin.v3.CommandLineOptions command_line_options = 6;getCommandLineOptions in interface ServerInfoOrBuilderpublic CommandLineOptionsOrBuilder getCommandLineOptionsOrBuilder()
Command line options the server is currently running with.
.envoy.admin.v3.CommandLineOptions command_line_options = 6;getCommandLineOptionsOrBuilder in interface ServerInfoOrBuilderpublic boolean hasNode()
Populated node identity of this server.
.envoy.config.core.v3.Node node = 7;hasNode in interface ServerInfoOrBuilderpublic Node getNode()
Populated node identity of this server.
.envoy.config.core.v3.Node node = 7;getNode in interface ServerInfoOrBuilderpublic NodeOrBuilder getNodeOrBuilder()
Populated node identity of this server.
.envoy.config.core.v3.Node node = 7;getNodeOrBuilder in interface ServerInfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ServerInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServerInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServerInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ServerInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ServerInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ServerInfo.Builder newBuilder()
public static ServerInfo.Builder newBuilder(ServerInfo prototype)
public ServerInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ServerInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ServerInfo getDefaultInstance()
public static com.google.protobuf.Parser<ServerInfo> parser()
public com.google.protobuf.Parser<ServerInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ServerInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.