public static final class ServerInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServerInfo.Builder> implements ServerInfoOrBuilder
Proto representation of the value returned by /server_info, containing server version/server status information. [#next-free-field: 7]Protobuf type
envoy.admin.v2alpha.ServerInfo| Modifier and Type | Method and Description |
|---|---|
ServerInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServerInfo |
build() |
ServerInfo |
buildPartial() |
ServerInfo.Builder |
clear() |
ServerInfo.Builder |
clearCommandLineOptions()
Command line options the server is currently running with.
|
ServerInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ServerInfo.Builder |
clearHotRestartVersion()
Hot restart version.
|
ServerInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ServerInfo.Builder |
clearState()
State of the server.
|
ServerInfo.Builder |
clearUptimeAllEpochs()
Uptime since the start of the first epoch.
|
ServerInfo.Builder |
clearUptimeCurrentEpoch()
Uptime since current epoch was started.
|
ServerInfo.Builder |
clearVersion()
Server version.
|
ServerInfo.Builder |
clone() |
CommandLineOptions |
getCommandLineOptions()
Command line options the server is currently running with.
|
CommandLineOptions.Builder |
getCommandLineOptionsBuilder()
Command line options the server is currently running with.
|
CommandLineOptionsOrBuilder |
getCommandLineOptionsOrBuilder()
Command line options the server is currently running with.
|
ServerInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHotRestartVersion()
Hot restart version.
|
com.google.protobuf.ByteString |
getHotRestartVersionBytes()
Hot restart version.
|
ServerInfo.State |
getState()
State of the server.
|
int |
getStateValue()
State of the server.
|
com.google.protobuf.Duration |
getUptimeAllEpochs()
Uptime since the start of the first epoch.
|
com.google.protobuf.Duration.Builder |
getUptimeAllEpochsBuilder()
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.Duration.Builder |
getUptimeCurrentEpochBuilder()
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.
|
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() |
ServerInfo.Builder |
mergeCommandLineOptions(CommandLineOptions value)
Command line options the server is currently running with.
|
ServerInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServerInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
ServerInfo.Builder |
mergeFrom(ServerInfo other) |
ServerInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServerInfo.Builder |
mergeUptimeAllEpochs(com.google.protobuf.Duration value)
Uptime since the start of the first epoch.
|
ServerInfo.Builder |
mergeUptimeCurrentEpoch(com.google.protobuf.Duration value)
Uptime since current epoch was started.
|
ServerInfo.Builder |
setCommandLineOptions(CommandLineOptions.Builder builderForValue)
Command line options the server is currently running with.
|
ServerInfo.Builder |
setCommandLineOptions(CommandLineOptions value)
Command line options the server is currently running with.
|
ServerInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServerInfo.Builder |
setHotRestartVersion(String value)
Hot restart version.
|
ServerInfo.Builder |
setHotRestartVersionBytes(com.google.protobuf.ByteString value)
Hot restart version.
|
ServerInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ServerInfo.Builder |
setState(ServerInfo.State value)
State of the server.
|
ServerInfo.Builder |
setStateValue(int value)
State of the server.
|
ServerInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServerInfo.Builder |
setUptimeAllEpochs(com.google.protobuf.Duration.Builder builderForValue)
Uptime since the start of the first epoch.
|
ServerInfo.Builder |
setUptimeAllEpochs(com.google.protobuf.Duration value)
Uptime since the start of the first epoch.
|
ServerInfo.Builder |
setUptimeCurrentEpoch(com.google.protobuf.Duration.Builder builderForValue)
Uptime since current epoch was started.
|
ServerInfo.Builder |
setUptimeCurrentEpoch(com.google.protobuf.Duration value)
Uptime since current epoch was started.
|
ServerInfo.Builder |
setVersion(String value)
Server version.
|
ServerInfo.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
Server version.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ServerInfo.Builder>public ServerInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ServerInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ServerInfo.Builder>public ServerInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ServerInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ServerInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ServerInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ServerInfo.Builder>public ServerInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerInfo.Builder>public ServerInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerInfo.Builder>public ServerInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ServerInfo.Builder>public ServerInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerInfo.Builder>public ServerInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerInfo.Builder>public ServerInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServerInfo.Builder>public ServerInfo.Builder mergeFrom(ServerInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ServerInfo.Builder>public ServerInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServerInfo.Builder>IOExceptionpublic 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 ServerInfo.Builder setVersion(String value)
Server version.
string version = 1;public ServerInfo.Builder clearVersion()
Server version.
string version = 1;public ServerInfo.Builder setVersionBytes(com.google.protobuf.ByteString value)
Server version.
string version = 1;public int getStateValue()
State of the server.
.envoy.admin.v2alpha.ServerInfo.State state = 2;getStateValue in interface ServerInfoOrBuilderpublic ServerInfo.Builder setStateValue(int value)
State of the server.
.envoy.admin.v2alpha.ServerInfo.State state = 2;public ServerInfo.State getState()
State of the server.
.envoy.admin.v2alpha.ServerInfo.State state = 2;getState in interface ServerInfoOrBuilderpublic ServerInfo.Builder setState(ServerInfo.State value)
State of the server.
.envoy.admin.v2alpha.ServerInfo.State state = 2;public ServerInfo.Builder clearState()
State of the server.
.envoy.admin.v2alpha.ServerInfo.State state = 2;public 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 ServerInfo.Builder setUptimeCurrentEpoch(com.google.protobuf.Duration value)
Uptime since current epoch was started.
.google.protobuf.Duration uptime_current_epoch = 3;public ServerInfo.Builder setUptimeCurrentEpoch(com.google.protobuf.Duration.Builder builderForValue)
Uptime since current epoch was started.
.google.protobuf.Duration uptime_current_epoch = 3;public ServerInfo.Builder mergeUptimeCurrentEpoch(com.google.protobuf.Duration value)
Uptime since current epoch was started.
.google.protobuf.Duration uptime_current_epoch = 3;public ServerInfo.Builder clearUptimeCurrentEpoch()
Uptime since current epoch was started.
.google.protobuf.Duration uptime_current_epoch = 3;public com.google.protobuf.Duration.Builder getUptimeCurrentEpochBuilder()
Uptime since current epoch was started.
.google.protobuf.Duration uptime_current_epoch = 3;public 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 ServerInfo.Builder setUptimeAllEpochs(com.google.protobuf.Duration value)
Uptime since the start of the first epoch.
.google.protobuf.Duration uptime_all_epochs = 4;public ServerInfo.Builder setUptimeAllEpochs(com.google.protobuf.Duration.Builder builderForValue)
Uptime since the start of the first epoch.
.google.protobuf.Duration uptime_all_epochs = 4;public ServerInfo.Builder mergeUptimeAllEpochs(com.google.protobuf.Duration value)
Uptime since the start of the first epoch.
.google.protobuf.Duration uptime_all_epochs = 4;public ServerInfo.Builder clearUptimeAllEpochs()
Uptime since the start of the first epoch.
.google.protobuf.Duration uptime_all_epochs = 4;public com.google.protobuf.Duration.Builder getUptimeAllEpochsBuilder()
Uptime since the start of the first epoch.
.google.protobuf.Duration uptime_all_epochs = 4;public 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 ServerInfo.Builder setHotRestartVersion(String value)
Hot restart version.
string hot_restart_version = 5;public ServerInfo.Builder clearHotRestartVersion()
Hot restart version.
string hot_restart_version = 5;public ServerInfo.Builder setHotRestartVersionBytes(com.google.protobuf.ByteString value)
Hot restart version.
string hot_restart_version = 5;public boolean hasCommandLineOptions()
Command line options the server is currently running with.
.envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;hasCommandLineOptions in interface ServerInfoOrBuilderpublic CommandLineOptions getCommandLineOptions()
Command line options the server is currently running with.
.envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;getCommandLineOptions in interface ServerInfoOrBuilderpublic ServerInfo.Builder setCommandLineOptions(CommandLineOptions value)
Command line options the server is currently running with.
.envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;public ServerInfo.Builder setCommandLineOptions(CommandLineOptions.Builder builderForValue)
Command line options the server is currently running with.
.envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;public ServerInfo.Builder mergeCommandLineOptions(CommandLineOptions value)
Command line options the server is currently running with.
.envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;public ServerInfo.Builder clearCommandLineOptions()
Command line options the server is currently running with.
.envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;public CommandLineOptions.Builder getCommandLineOptionsBuilder()
Command line options the server is currently running with.
.envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;public CommandLineOptionsOrBuilder getCommandLineOptionsOrBuilder()
Command line options the server is currently running with.
.envoy.admin.v2alpha.CommandLineOptions command_line_options = 6;getCommandLineOptionsOrBuilder in interface ServerInfoOrBuilderpublic final ServerInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServerInfo.Builder>public final ServerInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServerInfo.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.