io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions 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;
/**
* Protobuf type {@code envoy.admin.v2alpha.CommandLineOptions}
*/
public final class CommandLineOptions extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.admin.v2alpha.CommandLineOptions)
CommandLineOptionsOrBuilder {
private static final long serialVersionUID = 0L;
// Use CommandLineOptions.newBuilder() to construct.
private CommandLineOptions(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CommandLineOptions() {
configPath_ = "";
configYaml_ = "";
adminAddressPath_ = "";
localAddressIpVersion_ = 0;
logLevel_ = "";
componentLogLevel_ = "";
logFormat_ = "";
logPath_ = "";
serviceCluster_ = "";
serviceNode_ = "";
serviceZone_ = "";
mode_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CommandLineOptions();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CommandLineOptions(
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 8: {
baseId_ = input.readUInt64();
break;
}
case 16: {
concurrency_ = input.readUInt32();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
configPath_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
configYaml_ = s;
break;
}
case 40: {
allowUnknownStaticFields_ = input.readBool();
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
adminAddressPath_ = s;
break;
}
case 56: {
int rawValue = input.readEnum();
localAddressIpVersion_ = rawValue;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
logLevel_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
componentLogLevel_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
logFormat_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
logPath_ = s;
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
serviceCluster_ = s;
break;
}
case 114: {
java.lang.String s = input.readStringRequireUtf8();
serviceNode_ = s;
break;
}
case 122: {
java.lang.String s = input.readStringRequireUtf8();
serviceZone_ = s;
break;
}
case 130: {
com.google.protobuf.Duration.Builder subBuilder = null;
if (fileFlushInterval_ != null) {
subBuilder = fileFlushInterval_.toBuilder();
}
fileFlushInterval_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(fileFlushInterval_);
fileFlushInterval_ = subBuilder.buildPartial();
}
break;
}
case 138: {
com.google.protobuf.Duration.Builder subBuilder = null;
if (drainTime_ != null) {
subBuilder = drainTime_.toBuilder();
}
drainTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(drainTime_);
drainTime_ = subBuilder.buildPartial();
}
break;
}
case 146: {
com.google.protobuf.Duration.Builder subBuilder = null;
if (parentShutdownTime_ != null) {
subBuilder = parentShutdownTime_.toBuilder();
}
parentShutdownTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(parentShutdownTime_);
parentShutdownTime_ = subBuilder.buildPartial();
}
break;
}
case 152: {
int rawValue = input.readEnum();
mode_ = rawValue;
break;
}
case 160: {
maxStats_ = input.readUInt64();
break;
}
case 168: {
maxObjNameLen_ = input.readUInt64();
break;
}
case 176: {
disableHotRestart_ = input.readBool();
break;
}
case 184: {
enableMutexTracing_ = input.readBool();
break;
}
case 192: {
restartEpoch_ = input.readUInt32();
break;
}
case 200: {
cpusetThreads_ = input.readBool();
break;
}
case 208: {
rejectUnknownDynamicFields_ = input.readBool();
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_CommandLineOptions_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.admin.v2alpha.ServerInfoProto.internal_static_envoy_admin_v2alpha_CommandLineOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.class, io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Builder.class);
}
/**
* Protobuf enum {@code envoy.admin.v2alpha.CommandLineOptions.IpVersion}
*/
public enum IpVersion
implements com.google.protobuf.ProtocolMessageEnum {
/**
* v4 = 0;
*/
v4(0),
/**
* v6 = 1;
*/
v6(1),
UNRECOGNIZED(-1),
;
/**
* v4 = 0;
*/
public static final int v4_VALUE = 0;
/**
* v6 = 1;
*/
public static final int v6_VALUE = 1;
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 IpVersion valueOf(int value) {
return forNumber(value);
}
public static IpVersion forNumber(int value) {
switch (value) {
case 0: return v4;
case 1: return v6;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
IpVersion> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public IpVersion findValueByNumber(int number) {
return IpVersion.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.CommandLineOptions.getDescriptor().getEnumTypes().get(0);
}
private static final IpVersion[] VALUES = values();
public static IpVersion 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 IpVersion(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:envoy.admin.v2alpha.CommandLineOptions.IpVersion)
}
/**
* Protobuf enum {@code envoy.admin.v2alpha.CommandLineOptions.Mode}
*/
public enum Mode
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Validate configs and then serve traffic normally.
*
*
* Serve = 0;
*/
Serve(0),
/**
*
* Validate configs and exit.
*
*
* Validate = 1;
*/
Validate(1),
/**
*
* Completely load and initialize the config, and then exit without running the listener loop.
*
*
* InitOnly = 2;
*/
InitOnly(2),
UNRECOGNIZED(-1),
;
/**
*
* Validate configs and then serve traffic normally.
*
*
* Serve = 0;
*/
public static final int Serve_VALUE = 0;
/**
*
* Validate configs and exit.
*
*
* Validate = 1;
*/
public static final int Validate_VALUE = 1;
/**
*
* Completely load and initialize the config, and then exit without running the listener loop.
*
*
* InitOnly = 2;
*/
public static final int InitOnly_VALUE = 2;
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 Mode valueOf(int value) {
return forNumber(value);
}
public static Mode forNumber(int value) {
switch (value) {
case 0: return Serve;
case 1: return Validate;
case 2: return InitOnly;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Mode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Mode findValueByNumber(int number) {
return Mode.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.CommandLineOptions.getDescriptor().getEnumTypes().get(1);
}
private static final Mode[] VALUES = values();
public static Mode 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 Mode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:envoy.admin.v2alpha.CommandLineOptions.Mode)
}
public static final int BASE_ID_FIELD_NUMBER = 1;
private long baseId_;
/**
*
* See :option:`--base-id` for details.
*
*
* uint64 base_id = 1;
*/
public long getBaseId() {
return baseId_;
}
public static final int CONCURRENCY_FIELD_NUMBER = 2;
private int concurrency_;
/**
*
* See :option:`--concurrency` for details.
*
*
* uint32 concurrency = 2;
*/
public int getConcurrency() {
return concurrency_;
}
public static final int CONFIG_PATH_FIELD_NUMBER = 3;
private volatile java.lang.Object configPath_;
/**
*
* See :option:`--config-path` for details.
*
*
* string config_path = 3;
*/
public java.lang.String getConfigPath() {
java.lang.Object ref = configPath_;
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();
configPath_ = s;
return s;
}
}
/**
*
* See :option:`--config-path` for details.
*
*
* string config_path = 3;
*/
public com.google.protobuf.ByteString
getConfigPathBytes() {
java.lang.Object ref = configPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
configPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONFIG_YAML_FIELD_NUMBER = 4;
private volatile java.lang.Object configYaml_;
/**
*
* See :option:`--config-yaml` for details.
*
*
* string config_yaml = 4;
*/
public java.lang.String getConfigYaml() {
java.lang.Object ref = configYaml_;
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();
configYaml_ = s;
return s;
}
}
/**
*
* See :option:`--config-yaml` for details.
*
*
* string config_yaml = 4;
*/
public com.google.protobuf.ByteString
getConfigYamlBytes() {
java.lang.Object ref = configYaml_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
configYaml_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ALLOW_UNKNOWN_STATIC_FIELDS_FIELD_NUMBER = 5;
private boolean allowUnknownStaticFields_;
/**
*
* See :option:`--allow-unknown-static-fields` for details.
*
*
* bool allow_unknown_static_fields = 5;
*/
public boolean getAllowUnknownStaticFields() {
return allowUnknownStaticFields_;
}
public static final int REJECT_UNKNOWN_DYNAMIC_FIELDS_FIELD_NUMBER = 26;
private boolean rejectUnknownDynamicFields_;
/**
*
* See :option:`--reject-unknown-dynamic-fields` for details.
*
*
* bool reject_unknown_dynamic_fields = 26;
*/
public boolean getRejectUnknownDynamicFields() {
return rejectUnknownDynamicFields_;
}
public static final int ADMIN_ADDRESS_PATH_FIELD_NUMBER = 6;
private volatile java.lang.Object adminAddressPath_;
/**
*
* See :option:`--admin-address-path` for details.
*
*
* string admin_address_path = 6;
*/
public java.lang.String getAdminAddressPath() {
java.lang.Object ref = adminAddressPath_;
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();
adminAddressPath_ = s;
return s;
}
}
/**
*
* See :option:`--admin-address-path` for details.
*
*
* string admin_address_path = 6;
*/
public com.google.protobuf.ByteString
getAdminAddressPathBytes() {
java.lang.Object ref = adminAddressPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adminAddressPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCAL_ADDRESS_IP_VERSION_FIELD_NUMBER = 7;
private int localAddressIpVersion_;
/**
*
* See :option:`--local-address-ip-version` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.IpVersion local_address_ip_version = 7;
*/
public int getLocalAddressIpVersionValue() {
return localAddressIpVersion_;
}
/**
*
* See :option:`--local-address-ip-version` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.IpVersion local_address_ip_version = 7;
*/
public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion getLocalAddressIpVersion() {
@SuppressWarnings("deprecation")
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion result = io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion.valueOf(localAddressIpVersion_);
return result == null ? io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion.UNRECOGNIZED : result;
}
public static final int LOG_LEVEL_FIELD_NUMBER = 8;
private volatile java.lang.Object logLevel_;
/**
*
* See :option:`--log-level` for details.
*
*
* string log_level = 8;
*/
public java.lang.String getLogLevel() {
java.lang.Object ref = logLevel_;
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();
logLevel_ = s;
return s;
}
}
/**
*
* See :option:`--log-level` for details.
*
*
* string log_level = 8;
*/
public com.google.protobuf.ByteString
getLogLevelBytes() {
java.lang.Object ref = logLevel_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logLevel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMPONENT_LOG_LEVEL_FIELD_NUMBER = 9;
private volatile java.lang.Object componentLogLevel_;
/**
*
* See :option:`--component-log-level` for details.
*
*
* string component_log_level = 9;
*/
public java.lang.String getComponentLogLevel() {
java.lang.Object ref = componentLogLevel_;
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();
componentLogLevel_ = s;
return s;
}
}
/**
*
* See :option:`--component-log-level` for details.
*
*
* string component_log_level = 9;
*/
public com.google.protobuf.ByteString
getComponentLogLevelBytes() {
java.lang.Object ref = componentLogLevel_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
componentLogLevel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOG_FORMAT_FIELD_NUMBER = 10;
private volatile java.lang.Object logFormat_;
/**
*
* See :option:`--log-format` for details.
*
*
* string log_format = 10;
*/
public java.lang.String getLogFormat() {
java.lang.Object ref = logFormat_;
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();
logFormat_ = s;
return s;
}
}
/**
*
* See :option:`--log-format` for details.
*
*
* string log_format = 10;
*/
public com.google.protobuf.ByteString
getLogFormatBytes() {
java.lang.Object ref = logFormat_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logFormat_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOG_PATH_FIELD_NUMBER = 11;
private volatile java.lang.Object logPath_;
/**
*
* See :option:`--log-path` for details.
*
*
* string log_path = 11;
*/
public java.lang.String getLogPath() {
java.lang.Object ref = logPath_;
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();
logPath_ = s;
return s;
}
}
/**
*
* See :option:`--log-path` for details.
*
*
* string log_path = 11;
*/
public com.google.protobuf.ByteString
getLogPathBytes() {
java.lang.Object ref = logPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SERVICE_CLUSTER_FIELD_NUMBER = 13;
private volatile java.lang.Object serviceCluster_;
/**
*
* See :option:`--service-cluster` for details.
*
*
* string service_cluster = 13;
*/
public java.lang.String getServiceCluster() {
java.lang.Object ref = serviceCluster_;
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();
serviceCluster_ = s;
return s;
}
}
/**
*
* See :option:`--service-cluster` for details.
*
*
* string service_cluster = 13;
*/
public com.google.protobuf.ByteString
getServiceClusterBytes() {
java.lang.Object ref = serviceCluster_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceCluster_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SERVICE_NODE_FIELD_NUMBER = 14;
private volatile java.lang.Object serviceNode_;
/**
*
* See :option:`--service-node` for details.
*
*
* string service_node = 14;
*/
public java.lang.String getServiceNode() {
java.lang.Object ref = serviceNode_;
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();
serviceNode_ = s;
return s;
}
}
/**
*
* See :option:`--service-node` for details.
*
*
* string service_node = 14;
*/
public com.google.protobuf.ByteString
getServiceNodeBytes() {
java.lang.Object ref = serviceNode_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceNode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SERVICE_ZONE_FIELD_NUMBER = 15;
private volatile java.lang.Object serviceZone_;
/**
*
* See :option:`--service-zone` for details.
*
*
* string service_zone = 15;
*/
public java.lang.String getServiceZone() {
java.lang.Object ref = serviceZone_;
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();
serviceZone_ = s;
return s;
}
}
/**
*
* See :option:`--service-zone` for details.
*
*
* string service_zone = 15;
*/
public com.google.protobuf.ByteString
getServiceZoneBytes() {
java.lang.Object ref = serviceZone_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceZone_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILE_FLUSH_INTERVAL_FIELD_NUMBER = 16;
private com.google.protobuf.Duration fileFlushInterval_;
/**
*
* See :option:`--file-flush-interval-msec` for details.
*
*
* .google.protobuf.Duration file_flush_interval = 16;
*/
public boolean hasFileFlushInterval() {
return fileFlushInterval_ != null;
}
/**
*
* See :option:`--file-flush-interval-msec` for details.
*
*
* .google.protobuf.Duration file_flush_interval = 16;
*/
public com.google.protobuf.Duration getFileFlushInterval() {
return fileFlushInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : fileFlushInterval_;
}
/**
*
* See :option:`--file-flush-interval-msec` for details.
*
*
* .google.protobuf.Duration file_flush_interval = 16;
*/
public com.google.protobuf.DurationOrBuilder getFileFlushIntervalOrBuilder() {
return getFileFlushInterval();
}
public static final int DRAIN_TIME_FIELD_NUMBER = 17;
private com.google.protobuf.Duration drainTime_;
/**
*
* See :option:`--drain-time-s` for details.
*
*
* .google.protobuf.Duration drain_time = 17;
*/
public boolean hasDrainTime() {
return drainTime_ != null;
}
/**
*
* See :option:`--drain-time-s` for details.
*
*
* .google.protobuf.Duration drain_time = 17;
*/
public com.google.protobuf.Duration getDrainTime() {
return drainTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : drainTime_;
}
/**
*
* See :option:`--drain-time-s` for details.
*
*
* .google.protobuf.Duration drain_time = 17;
*/
public com.google.protobuf.DurationOrBuilder getDrainTimeOrBuilder() {
return getDrainTime();
}
public static final int PARENT_SHUTDOWN_TIME_FIELD_NUMBER = 18;
private com.google.protobuf.Duration parentShutdownTime_;
/**
*
* See :option:`--parent-shutdown-time-s` for details.
*
*
* .google.protobuf.Duration parent_shutdown_time = 18;
*/
public boolean hasParentShutdownTime() {
return parentShutdownTime_ != null;
}
/**
*
* See :option:`--parent-shutdown-time-s` for details.
*
*
* .google.protobuf.Duration parent_shutdown_time = 18;
*/
public com.google.protobuf.Duration getParentShutdownTime() {
return parentShutdownTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : parentShutdownTime_;
}
/**
*
* See :option:`--parent-shutdown-time-s` for details.
*
*
* .google.protobuf.Duration parent_shutdown_time = 18;
*/
public com.google.protobuf.DurationOrBuilder getParentShutdownTimeOrBuilder() {
return getParentShutdownTime();
}
public static final int MODE_FIELD_NUMBER = 19;
private int mode_;
/**
*
* See :option:`--mode` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.Mode mode = 19;
*/
public int getModeValue() {
return mode_;
}
/**
*
* See :option:`--mode` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.Mode mode = 19;
*/
public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode getMode() {
@SuppressWarnings("deprecation")
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode result = io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode.valueOf(mode_);
return result == null ? io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode.UNRECOGNIZED : result;
}
public static final int MAX_STATS_FIELD_NUMBER = 20;
private long maxStats_;
/**
*
* max_stats and max_obj_name_len are now unused and have no effect.
*
*
* uint64 max_stats = 20 [deprecated = true];
*/
@java.lang.Deprecated public long getMaxStats() {
return maxStats_;
}
public static final int MAX_OBJ_NAME_LEN_FIELD_NUMBER = 21;
private long maxObjNameLen_;
/**
* uint64 max_obj_name_len = 21 [deprecated = true];
*/
@java.lang.Deprecated public long getMaxObjNameLen() {
return maxObjNameLen_;
}
public static final int DISABLE_HOT_RESTART_FIELD_NUMBER = 22;
private boolean disableHotRestart_;
/**
*
* See :option:`--disable-hot-restart` for details.
*
*
* bool disable_hot_restart = 22;
*/
public boolean getDisableHotRestart() {
return disableHotRestart_;
}
public static final int ENABLE_MUTEX_TRACING_FIELD_NUMBER = 23;
private boolean enableMutexTracing_;
/**
*
* See :option:`--enable-mutex-tracing` for details.
*
*
* bool enable_mutex_tracing = 23;
*/
public boolean getEnableMutexTracing() {
return enableMutexTracing_;
}
public static final int RESTART_EPOCH_FIELD_NUMBER = 24;
private int restartEpoch_;
/**
*
* See :option:`--restart-epoch` for details.
*
*
* uint32 restart_epoch = 24;
*/
public int getRestartEpoch() {
return restartEpoch_;
}
public static final int CPUSET_THREADS_FIELD_NUMBER = 25;
private boolean cpusetThreads_;
/**
*
* See :option:`--cpuset-threads` for details.
*
*
* bool cpuset_threads = 25;
*/
public boolean getCpusetThreads() {
return cpusetThreads_;
}
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 (baseId_ != 0L) {
output.writeUInt64(1, baseId_);
}
if (concurrency_ != 0) {
output.writeUInt32(2, concurrency_);
}
if (!getConfigPathBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, configPath_);
}
if (!getConfigYamlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, configYaml_);
}
if (allowUnknownStaticFields_ != false) {
output.writeBool(5, allowUnknownStaticFields_);
}
if (!getAdminAddressPathBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, adminAddressPath_);
}
if (localAddressIpVersion_ != io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion.v4.getNumber()) {
output.writeEnum(7, localAddressIpVersion_);
}
if (!getLogLevelBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, logLevel_);
}
if (!getComponentLogLevelBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, componentLogLevel_);
}
if (!getLogFormatBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, logFormat_);
}
if (!getLogPathBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, logPath_);
}
if (!getServiceClusterBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, serviceCluster_);
}
if (!getServiceNodeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, serviceNode_);
}
if (!getServiceZoneBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, serviceZone_);
}
if (fileFlushInterval_ != null) {
output.writeMessage(16, getFileFlushInterval());
}
if (drainTime_ != null) {
output.writeMessage(17, getDrainTime());
}
if (parentShutdownTime_ != null) {
output.writeMessage(18, getParentShutdownTime());
}
if (mode_ != io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode.Serve.getNumber()) {
output.writeEnum(19, mode_);
}
if (maxStats_ != 0L) {
output.writeUInt64(20, maxStats_);
}
if (maxObjNameLen_ != 0L) {
output.writeUInt64(21, maxObjNameLen_);
}
if (disableHotRestart_ != false) {
output.writeBool(22, disableHotRestart_);
}
if (enableMutexTracing_ != false) {
output.writeBool(23, enableMutexTracing_);
}
if (restartEpoch_ != 0) {
output.writeUInt32(24, restartEpoch_);
}
if (cpusetThreads_ != false) {
output.writeBool(25, cpusetThreads_);
}
if (rejectUnknownDynamicFields_ != false) {
output.writeBool(26, rejectUnknownDynamicFields_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (baseId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, baseId_);
}
if (concurrency_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, concurrency_);
}
if (!getConfigPathBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, configPath_);
}
if (!getConfigYamlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, configYaml_);
}
if (allowUnknownStaticFields_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, allowUnknownStaticFields_);
}
if (!getAdminAddressPathBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, adminAddressPath_);
}
if (localAddressIpVersion_ != io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion.v4.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(7, localAddressIpVersion_);
}
if (!getLogLevelBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, logLevel_);
}
if (!getComponentLogLevelBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, componentLogLevel_);
}
if (!getLogFormatBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, logFormat_);
}
if (!getLogPathBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, logPath_);
}
if (!getServiceClusterBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, serviceCluster_);
}
if (!getServiceNodeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, serviceNode_);
}
if (!getServiceZoneBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, serviceZone_);
}
if (fileFlushInterval_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getFileFlushInterval());
}
if (drainTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getDrainTime());
}
if (parentShutdownTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getParentShutdownTime());
}
if (mode_ != io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode.Serve.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(19, mode_);
}
if (maxStats_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(20, maxStats_);
}
if (maxObjNameLen_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(21, maxObjNameLen_);
}
if (disableHotRestart_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(22, disableHotRestart_);
}
if (enableMutexTracing_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(23, enableMutexTracing_);
}
if (restartEpoch_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(24, restartEpoch_);
}
if (cpusetThreads_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(25, cpusetThreads_);
}
if (rejectUnknownDynamicFields_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(26, rejectUnknownDynamicFields_);
}
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.CommandLineOptions)) {
return super.equals(obj);
}
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions other = (io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions) obj;
if (getBaseId()
!= other.getBaseId()) return false;
if (getConcurrency()
!= other.getConcurrency()) return false;
if (!getConfigPath()
.equals(other.getConfigPath())) return false;
if (!getConfigYaml()
.equals(other.getConfigYaml())) return false;
if (getAllowUnknownStaticFields()
!= other.getAllowUnknownStaticFields()) return false;
if (getRejectUnknownDynamicFields()
!= other.getRejectUnknownDynamicFields()) return false;
if (!getAdminAddressPath()
.equals(other.getAdminAddressPath())) return false;
if (localAddressIpVersion_ != other.localAddressIpVersion_) return false;
if (!getLogLevel()
.equals(other.getLogLevel())) return false;
if (!getComponentLogLevel()
.equals(other.getComponentLogLevel())) return false;
if (!getLogFormat()
.equals(other.getLogFormat())) return false;
if (!getLogPath()
.equals(other.getLogPath())) return false;
if (!getServiceCluster()
.equals(other.getServiceCluster())) return false;
if (!getServiceNode()
.equals(other.getServiceNode())) return false;
if (!getServiceZone()
.equals(other.getServiceZone())) return false;
if (hasFileFlushInterval() != other.hasFileFlushInterval()) return false;
if (hasFileFlushInterval()) {
if (!getFileFlushInterval()
.equals(other.getFileFlushInterval())) return false;
}
if (hasDrainTime() != other.hasDrainTime()) return false;
if (hasDrainTime()) {
if (!getDrainTime()
.equals(other.getDrainTime())) return false;
}
if (hasParentShutdownTime() != other.hasParentShutdownTime()) return false;
if (hasParentShutdownTime()) {
if (!getParentShutdownTime()
.equals(other.getParentShutdownTime())) return false;
}
if (mode_ != other.mode_) return false;
if (getMaxStats()
!= other.getMaxStats()) return false;
if (getMaxObjNameLen()
!= other.getMaxObjNameLen()) return false;
if (getDisableHotRestart()
!= other.getDisableHotRestart()) return false;
if (getEnableMutexTracing()
!= other.getEnableMutexTracing()) return false;
if (getRestartEpoch()
!= other.getRestartEpoch()) return false;
if (getCpusetThreads()
!= other.getCpusetThreads()) 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) + BASE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBaseId());
hash = (37 * hash) + CONCURRENCY_FIELD_NUMBER;
hash = (53 * hash) + getConcurrency();
hash = (37 * hash) + CONFIG_PATH_FIELD_NUMBER;
hash = (53 * hash) + getConfigPath().hashCode();
hash = (37 * hash) + CONFIG_YAML_FIELD_NUMBER;
hash = (53 * hash) + getConfigYaml().hashCode();
hash = (37 * hash) + ALLOW_UNKNOWN_STATIC_FIELDS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAllowUnknownStaticFields());
hash = (37 * hash) + REJECT_UNKNOWN_DYNAMIC_FIELDS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getRejectUnknownDynamicFields());
hash = (37 * hash) + ADMIN_ADDRESS_PATH_FIELD_NUMBER;
hash = (53 * hash) + getAdminAddressPath().hashCode();
hash = (37 * hash) + LOCAL_ADDRESS_IP_VERSION_FIELD_NUMBER;
hash = (53 * hash) + localAddressIpVersion_;
hash = (37 * hash) + LOG_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getLogLevel().hashCode();
hash = (37 * hash) + COMPONENT_LOG_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getComponentLogLevel().hashCode();
hash = (37 * hash) + LOG_FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getLogFormat().hashCode();
hash = (37 * hash) + LOG_PATH_FIELD_NUMBER;
hash = (53 * hash) + getLogPath().hashCode();
hash = (37 * hash) + SERVICE_CLUSTER_FIELD_NUMBER;
hash = (53 * hash) + getServiceCluster().hashCode();
hash = (37 * hash) + SERVICE_NODE_FIELD_NUMBER;
hash = (53 * hash) + getServiceNode().hashCode();
hash = (37 * hash) + SERVICE_ZONE_FIELD_NUMBER;
hash = (53 * hash) + getServiceZone().hashCode();
if (hasFileFlushInterval()) {
hash = (37 * hash) + FILE_FLUSH_INTERVAL_FIELD_NUMBER;
hash = (53 * hash) + getFileFlushInterval().hashCode();
}
if (hasDrainTime()) {
hash = (37 * hash) + DRAIN_TIME_FIELD_NUMBER;
hash = (53 * hash) + getDrainTime().hashCode();
}
if (hasParentShutdownTime()) {
hash = (37 * hash) + PARENT_SHUTDOWN_TIME_FIELD_NUMBER;
hash = (53 * hash) + getParentShutdownTime().hashCode();
}
hash = (37 * hash) + MODE_FIELD_NUMBER;
hash = (53 * hash) + mode_;
hash = (37 * hash) + MAX_STATS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMaxStats());
hash = (37 * hash) + MAX_OBJ_NAME_LEN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMaxObjNameLen());
hash = (37 * hash) + DISABLE_HOT_RESTART_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDisableHotRestart());
hash = (37 * hash) + ENABLE_MUTEX_TRACING_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableMutexTracing());
hash = (37 * hash) + RESTART_EPOCH_FIELD_NUMBER;
hash = (53 * hash) + getRestartEpoch();
hash = (37 * hash) + CPUSET_THREADS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCpusetThreads());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions 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.CommandLineOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions 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.CommandLineOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions 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.CommandLineOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions 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.CommandLineOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions 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.CommandLineOptions 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.CommandLineOptions 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.CommandLineOptions 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;
}
/**
* Protobuf type {@code envoy.admin.v2alpha.CommandLineOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:envoy.admin.v2alpha.CommandLineOptions)
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptionsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.admin.v2alpha.ServerInfoProto.internal_static_envoy_admin_v2alpha_CommandLineOptions_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.admin.v2alpha.ServerInfoProto.internal_static_envoy_admin_v2alpha_CommandLineOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.class, io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Builder.class);
}
// Construct using io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.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();
baseId_ = 0L;
concurrency_ = 0;
configPath_ = "";
configYaml_ = "";
allowUnknownStaticFields_ = false;
rejectUnknownDynamicFields_ = false;
adminAddressPath_ = "";
localAddressIpVersion_ = 0;
logLevel_ = "";
componentLogLevel_ = "";
logFormat_ = "";
logPath_ = "";
serviceCluster_ = "";
serviceNode_ = "";
serviceZone_ = "";
if (fileFlushIntervalBuilder_ == null) {
fileFlushInterval_ = null;
} else {
fileFlushInterval_ = null;
fileFlushIntervalBuilder_ = null;
}
if (drainTimeBuilder_ == null) {
drainTime_ = null;
} else {
drainTime_ = null;
drainTimeBuilder_ = null;
}
if (parentShutdownTimeBuilder_ == null) {
parentShutdownTime_ = null;
} else {
parentShutdownTime_ = null;
parentShutdownTimeBuilder_ = null;
}
mode_ = 0;
maxStats_ = 0L;
maxObjNameLen_ = 0L;
disableHotRestart_ = false;
enableMutexTracing_ = false;
restartEpoch_ = 0;
cpusetThreads_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.admin.v2alpha.ServerInfoProto.internal_static_envoy_admin_v2alpha_CommandLineOptions_descriptor;
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions getDefaultInstanceForType() {
return io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.getDefaultInstance();
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions build() {
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions buildPartial() {
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions result = new io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions(this);
result.baseId_ = baseId_;
result.concurrency_ = concurrency_;
result.configPath_ = configPath_;
result.configYaml_ = configYaml_;
result.allowUnknownStaticFields_ = allowUnknownStaticFields_;
result.rejectUnknownDynamicFields_ = rejectUnknownDynamicFields_;
result.adminAddressPath_ = adminAddressPath_;
result.localAddressIpVersion_ = localAddressIpVersion_;
result.logLevel_ = logLevel_;
result.componentLogLevel_ = componentLogLevel_;
result.logFormat_ = logFormat_;
result.logPath_ = logPath_;
result.serviceCluster_ = serviceCluster_;
result.serviceNode_ = serviceNode_;
result.serviceZone_ = serviceZone_;
if (fileFlushIntervalBuilder_ == null) {
result.fileFlushInterval_ = fileFlushInterval_;
} else {
result.fileFlushInterval_ = fileFlushIntervalBuilder_.build();
}
if (drainTimeBuilder_ == null) {
result.drainTime_ = drainTime_;
} else {
result.drainTime_ = drainTimeBuilder_.build();
}
if (parentShutdownTimeBuilder_ == null) {
result.parentShutdownTime_ = parentShutdownTime_;
} else {
result.parentShutdownTime_ = parentShutdownTimeBuilder_.build();
}
result.mode_ = mode_;
result.maxStats_ = maxStats_;
result.maxObjNameLen_ = maxObjNameLen_;
result.disableHotRestart_ = disableHotRestart_;
result.enableMutexTracing_ = enableMutexTracing_;
result.restartEpoch_ = restartEpoch_;
result.cpusetThreads_ = cpusetThreads_;
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.CommandLineOptions) {
return mergeFrom((io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions other) {
if (other == io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.getDefaultInstance()) return this;
if (other.getBaseId() != 0L) {
setBaseId(other.getBaseId());
}
if (other.getConcurrency() != 0) {
setConcurrency(other.getConcurrency());
}
if (!other.getConfigPath().isEmpty()) {
configPath_ = other.configPath_;
onChanged();
}
if (!other.getConfigYaml().isEmpty()) {
configYaml_ = other.configYaml_;
onChanged();
}
if (other.getAllowUnknownStaticFields() != false) {
setAllowUnknownStaticFields(other.getAllowUnknownStaticFields());
}
if (other.getRejectUnknownDynamicFields() != false) {
setRejectUnknownDynamicFields(other.getRejectUnknownDynamicFields());
}
if (!other.getAdminAddressPath().isEmpty()) {
adminAddressPath_ = other.adminAddressPath_;
onChanged();
}
if (other.localAddressIpVersion_ != 0) {
setLocalAddressIpVersionValue(other.getLocalAddressIpVersionValue());
}
if (!other.getLogLevel().isEmpty()) {
logLevel_ = other.logLevel_;
onChanged();
}
if (!other.getComponentLogLevel().isEmpty()) {
componentLogLevel_ = other.componentLogLevel_;
onChanged();
}
if (!other.getLogFormat().isEmpty()) {
logFormat_ = other.logFormat_;
onChanged();
}
if (!other.getLogPath().isEmpty()) {
logPath_ = other.logPath_;
onChanged();
}
if (!other.getServiceCluster().isEmpty()) {
serviceCluster_ = other.serviceCluster_;
onChanged();
}
if (!other.getServiceNode().isEmpty()) {
serviceNode_ = other.serviceNode_;
onChanged();
}
if (!other.getServiceZone().isEmpty()) {
serviceZone_ = other.serviceZone_;
onChanged();
}
if (other.hasFileFlushInterval()) {
mergeFileFlushInterval(other.getFileFlushInterval());
}
if (other.hasDrainTime()) {
mergeDrainTime(other.getDrainTime());
}
if (other.hasParentShutdownTime()) {
mergeParentShutdownTime(other.getParentShutdownTime());
}
if (other.mode_ != 0) {
setModeValue(other.getModeValue());
}
if (other.getMaxStats() != 0L) {
setMaxStats(other.getMaxStats());
}
if (other.getMaxObjNameLen() != 0L) {
setMaxObjNameLen(other.getMaxObjNameLen());
}
if (other.getDisableHotRestart() != false) {
setDisableHotRestart(other.getDisableHotRestart());
}
if (other.getEnableMutexTracing() != false) {
setEnableMutexTracing(other.getEnableMutexTracing());
}
if (other.getRestartEpoch() != 0) {
setRestartEpoch(other.getRestartEpoch());
}
if (other.getCpusetThreads() != false) {
setCpusetThreads(other.getCpusetThreads());
}
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.CommandLineOptions parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long baseId_ ;
/**
*
* See :option:`--base-id` for details.
*
*
* uint64 base_id = 1;
*/
public long getBaseId() {
return baseId_;
}
/**
*
* See :option:`--base-id` for details.
*
*
* uint64 base_id = 1;
*/
public Builder setBaseId(long value) {
baseId_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--base-id` for details.
*
*
* uint64 base_id = 1;
*/
public Builder clearBaseId() {
baseId_ = 0L;
onChanged();
return this;
}
private int concurrency_ ;
/**
*
* See :option:`--concurrency` for details.
*
*
* uint32 concurrency = 2;
*/
public int getConcurrency() {
return concurrency_;
}
/**
*
* See :option:`--concurrency` for details.
*
*
* uint32 concurrency = 2;
*/
public Builder setConcurrency(int value) {
concurrency_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--concurrency` for details.
*
*
* uint32 concurrency = 2;
*/
public Builder clearConcurrency() {
concurrency_ = 0;
onChanged();
return this;
}
private java.lang.Object configPath_ = "";
/**
*
* See :option:`--config-path` for details.
*
*
* string config_path = 3;
*/
public java.lang.String getConfigPath() {
java.lang.Object ref = configPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
configPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* See :option:`--config-path` for details.
*
*
* string config_path = 3;
*/
public com.google.protobuf.ByteString
getConfigPathBytes() {
java.lang.Object ref = configPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
configPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* See :option:`--config-path` for details.
*
*
* string config_path = 3;
*/
public Builder setConfigPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
configPath_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--config-path` for details.
*
*
* string config_path = 3;
*/
public Builder clearConfigPath() {
configPath_ = getDefaultInstance().getConfigPath();
onChanged();
return this;
}
/**
*
* See :option:`--config-path` for details.
*
*
* string config_path = 3;
*/
public Builder setConfigPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
configPath_ = value;
onChanged();
return this;
}
private java.lang.Object configYaml_ = "";
/**
*
* See :option:`--config-yaml` for details.
*
*
* string config_yaml = 4;
*/
public java.lang.String getConfigYaml() {
java.lang.Object ref = configYaml_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
configYaml_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* See :option:`--config-yaml` for details.
*
*
* string config_yaml = 4;
*/
public com.google.protobuf.ByteString
getConfigYamlBytes() {
java.lang.Object ref = configYaml_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
configYaml_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* See :option:`--config-yaml` for details.
*
*
* string config_yaml = 4;
*/
public Builder setConfigYaml(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
configYaml_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--config-yaml` for details.
*
*
* string config_yaml = 4;
*/
public Builder clearConfigYaml() {
configYaml_ = getDefaultInstance().getConfigYaml();
onChanged();
return this;
}
/**
*
* See :option:`--config-yaml` for details.
*
*
* string config_yaml = 4;
*/
public Builder setConfigYamlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
configYaml_ = value;
onChanged();
return this;
}
private boolean allowUnknownStaticFields_ ;
/**
*
* See :option:`--allow-unknown-static-fields` for details.
*
*
* bool allow_unknown_static_fields = 5;
*/
public boolean getAllowUnknownStaticFields() {
return allowUnknownStaticFields_;
}
/**
*
* See :option:`--allow-unknown-static-fields` for details.
*
*
* bool allow_unknown_static_fields = 5;
*/
public Builder setAllowUnknownStaticFields(boolean value) {
allowUnknownStaticFields_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--allow-unknown-static-fields` for details.
*
*
* bool allow_unknown_static_fields = 5;
*/
public Builder clearAllowUnknownStaticFields() {
allowUnknownStaticFields_ = false;
onChanged();
return this;
}
private boolean rejectUnknownDynamicFields_ ;
/**
*
* See :option:`--reject-unknown-dynamic-fields` for details.
*
*
* bool reject_unknown_dynamic_fields = 26;
*/
public boolean getRejectUnknownDynamicFields() {
return rejectUnknownDynamicFields_;
}
/**
*
* See :option:`--reject-unknown-dynamic-fields` for details.
*
*
* bool reject_unknown_dynamic_fields = 26;
*/
public Builder setRejectUnknownDynamicFields(boolean value) {
rejectUnknownDynamicFields_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--reject-unknown-dynamic-fields` for details.
*
*
* bool reject_unknown_dynamic_fields = 26;
*/
public Builder clearRejectUnknownDynamicFields() {
rejectUnknownDynamicFields_ = false;
onChanged();
return this;
}
private java.lang.Object adminAddressPath_ = "";
/**
*
* See :option:`--admin-address-path` for details.
*
*
* string admin_address_path = 6;
*/
public java.lang.String getAdminAddressPath() {
java.lang.Object ref = adminAddressPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
adminAddressPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* See :option:`--admin-address-path` for details.
*
*
* string admin_address_path = 6;
*/
public com.google.protobuf.ByteString
getAdminAddressPathBytes() {
java.lang.Object ref = adminAddressPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adminAddressPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* See :option:`--admin-address-path` for details.
*
*
* string admin_address_path = 6;
*/
public Builder setAdminAddressPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
adminAddressPath_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--admin-address-path` for details.
*
*
* string admin_address_path = 6;
*/
public Builder clearAdminAddressPath() {
adminAddressPath_ = getDefaultInstance().getAdminAddressPath();
onChanged();
return this;
}
/**
*
* See :option:`--admin-address-path` for details.
*
*
* string admin_address_path = 6;
*/
public Builder setAdminAddressPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
adminAddressPath_ = value;
onChanged();
return this;
}
private int localAddressIpVersion_ = 0;
/**
*
* See :option:`--local-address-ip-version` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.IpVersion local_address_ip_version = 7;
*/
public int getLocalAddressIpVersionValue() {
return localAddressIpVersion_;
}
/**
*
* See :option:`--local-address-ip-version` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.IpVersion local_address_ip_version = 7;
*/
public Builder setLocalAddressIpVersionValue(int value) {
localAddressIpVersion_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--local-address-ip-version` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.IpVersion local_address_ip_version = 7;
*/
public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion getLocalAddressIpVersion() {
@SuppressWarnings("deprecation")
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion result = io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion.valueOf(localAddressIpVersion_);
return result == null ? io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion.UNRECOGNIZED : result;
}
/**
*
* See :option:`--local-address-ip-version` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.IpVersion local_address_ip_version = 7;
*/
public Builder setLocalAddressIpVersion(io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion value) {
if (value == null) {
throw new NullPointerException();
}
localAddressIpVersion_ = value.getNumber();
onChanged();
return this;
}
/**
*
* See :option:`--local-address-ip-version` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.IpVersion local_address_ip_version = 7;
*/
public Builder clearLocalAddressIpVersion() {
localAddressIpVersion_ = 0;
onChanged();
return this;
}
private java.lang.Object logLevel_ = "";
/**
*
* See :option:`--log-level` for details.
*
*
* string log_level = 8;
*/
public java.lang.String getLogLevel() {
java.lang.Object ref = logLevel_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
logLevel_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* See :option:`--log-level` for details.
*
*
* string log_level = 8;
*/
public com.google.protobuf.ByteString
getLogLevelBytes() {
java.lang.Object ref = logLevel_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logLevel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* See :option:`--log-level` for details.
*
*
* string log_level = 8;
*/
public Builder setLogLevel(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
logLevel_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--log-level` for details.
*
*
* string log_level = 8;
*/
public Builder clearLogLevel() {
logLevel_ = getDefaultInstance().getLogLevel();
onChanged();
return this;
}
/**
*
* See :option:`--log-level` for details.
*
*
* string log_level = 8;
*/
public Builder setLogLevelBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
logLevel_ = value;
onChanged();
return this;
}
private java.lang.Object componentLogLevel_ = "";
/**
*
* See :option:`--component-log-level` for details.
*
*
* string component_log_level = 9;
*/
public java.lang.String getComponentLogLevel() {
java.lang.Object ref = componentLogLevel_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
componentLogLevel_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* See :option:`--component-log-level` for details.
*
*
* string component_log_level = 9;
*/
public com.google.protobuf.ByteString
getComponentLogLevelBytes() {
java.lang.Object ref = componentLogLevel_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
componentLogLevel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* See :option:`--component-log-level` for details.
*
*
* string component_log_level = 9;
*/
public Builder setComponentLogLevel(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
componentLogLevel_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--component-log-level` for details.
*
*
* string component_log_level = 9;
*/
public Builder clearComponentLogLevel() {
componentLogLevel_ = getDefaultInstance().getComponentLogLevel();
onChanged();
return this;
}
/**
*
* See :option:`--component-log-level` for details.
*
*
* string component_log_level = 9;
*/
public Builder setComponentLogLevelBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
componentLogLevel_ = value;
onChanged();
return this;
}
private java.lang.Object logFormat_ = "";
/**
*
* See :option:`--log-format` for details.
*
*
* string log_format = 10;
*/
public java.lang.String getLogFormat() {
java.lang.Object ref = logFormat_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
logFormat_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* See :option:`--log-format` for details.
*
*
* string log_format = 10;
*/
public com.google.protobuf.ByteString
getLogFormatBytes() {
java.lang.Object ref = logFormat_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logFormat_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* See :option:`--log-format` for details.
*
*
* string log_format = 10;
*/
public Builder setLogFormat(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
logFormat_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--log-format` for details.
*
*
* string log_format = 10;
*/
public Builder clearLogFormat() {
logFormat_ = getDefaultInstance().getLogFormat();
onChanged();
return this;
}
/**
*
* See :option:`--log-format` for details.
*
*
* string log_format = 10;
*/
public Builder setLogFormatBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
logFormat_ = value;
onChanged();
return this;
}
private java.lang.Object logPath_ = "";
/**
*
* See :option:`--log-path` for details.
*
*
* string log_path = 11;
*/
public java.lang.String getLogPath() {
java.lang.Object ref = logPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
logPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* See :option:`--log-path` for details.
*
*
* string log_path = 11;
*/
public com.google.protobuf.ByteString
getLogPathBytes() {
java.lang.Object ref = logPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* See :option:`--log-path` for details.
*
*
* string log_path = 11;
*/
public Builder setLogPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
logPath_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--log-path` for details.
*
*
* string log_path = 11;
*/
public Builder clearLogPath() {
logPath_ = getDefaultInstance().getLogPath();
onChanged();
return this;
}
/**
*
* See :option:`--log-path` for details.
*
*
* string log_path = 11;
*/
public Builder setLogPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
logPath_ = value;
onChanged();
return this;
}
private java.lang.Object serviceCluster_ = "";
/**
*
* See :option:`--service-cluster` for details.
*
*
* string service_cluster = 13;
*/
public java.lang.String getServiceCluster() {
java.lang.Object ref = serviceCluster_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serviceCluster_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* See :option:`--service-cluster` for details.
*
*
* string service_cluster = 13;
*/
public com.google.protobuf.ByteString
getServiceClusterBytes() {
java.lang.Object ref = serviceCluster_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceCluster_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* See :option:`--service-cluster` for details.
*
*
* string service_cluster = 13;
*/
public Builder setServiceCluster(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
serviceCluster_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--service-cluster` for details.
*
*
* string service_cluster = 13;
*/
public Builder clearServiceCluster() {
serviceCluster_ = getDefaultInstance().getServiceCluster();
onChanged();
return this;
}
/**
*
* See :option:`--service-cluster` for details.
*
*
* string service_cluster = 13;
*/
public Builder setServiceClusterBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serviceCluster_ = value;
onChanged();
return this;
}
private java.lang.Object serviceNode_ = "";
/**
*
* See :option:`--service-node` for details.
*
*
* string service_node = 14;
*/
public java.lang.String getServiceNode() {
java.lang.Object ref = serviceNode_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serviceNode_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* See :option:`--service-node` for details.
*
*
* string service_node = 14;
*/
public com.google.protobuf.ByteString
getServiceNodeBytes() {
java.lang.Object ref = serviceNode_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceNode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* See :option:`--service-node` for details.
*
*
* string service_node = 14;
*/
public Builder setServiceNode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
serviceNode_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--service-node` for details.
*
*
* string service_node = 14;
*/
public Builder clearServiceNode() {
serviceNode_ = getDefaultInstance().getServiceNode();
onChanged();
return this;
}
/**
*
* See :option:`--service-node` for details.
*
*
* string service_node = 14;
*/
public Builder setServiceNodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serviceNode_ = value;
onChanged();
return this;
}
private java.lang.Object serviceZone_ = "";
/**
*
* See :option:`--service-zone` for details.
*
*
* string service_zone = 15;
*/
public java.lang.String getServiceZone() {
java.lang.Object ref = serviceZone_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serviceZone_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* See :option:`--service-zone` for details.
*
*
* string service_zone = 15;
*/
public com.google.protobuf.ByteString
getServiceZoneBytes() {
java.lang.Object ref = serviceZone_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceZone_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* See :option:`--service-zone` for details.
*
*
* string service_zone = 15;
*/
public Builder setServiceZone(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
serviceZone_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--service-zone` for details.
*
*
* string service_zone = 15;
*/
public Builder clearServiceZone() {
serviceZone_ = getDefaultInstance().getServiceZone();
onChanged();
return this;
}
/**
*
* See :option:`--service-zone` for details.
*
*
* string service_zone = 15;
*/
public Builder setServiceZoneBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serviceZone_ = value;
onChanged();
return this;
}
private com.google.protobuf.Duration fileFlushInterval_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> fileFlushIntervalBuilder_;
/**
*
* See :option:`--file-flush-interval-msec` for details.
*
*
* .google.protobuf.Duration file_flush_interval = 16;
*/
public boolean hasFileFlushInterval() {
return fileFlushIntervalBuilder_ != null || fileFlushInterval_ != null;
}
/**
*
* See :option:`--file-flush-interval-msec` for details.
*
*
* .google.protobuf.Duration file_flush_interval = 16;
*/
public com.google.protobuf.Duration getFileFlushInterval() {
if (fileFlushIntervalBuilder_ == null) {
return fileFlushInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : fileFlushInterval_;
} else {
return fileFlushIntervalBuilder_.getMessage();
}
}
/**
*
* See :option:`--file-flush-interval-msec` for details.
*
*
* .google.protobuf.Duration file_flush_interval = 16;
*/
public Builder setFileFlushInterval(com.google.protobuf.Duration value) {
if (fileFlushIntervalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileFlushInterval_ = value;
onChanged();
} else {
fileFlushIntervalBuilder_.setMessage(value);
}
return this;
}
/**
*
* See :option:`--file-flush-interval-msec` for details.
*
*
* .google.protobuf.Duration file_flush_interval = 16;
*/
public Builder setFileFlushInterval(
com.google.protobuf.Duration.Builder builderForValue) {
if (fileFlushIntervalBuilder_ == null) {
fileFlushInterval_ = builderForValue.build();
onChanged();
} else {
fileFlushIntervalBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* See :option:`--file-flush-interval-msec` for details.
*
*
* .google.protobuf.Duration file_flush_interval = 16;
*/
public Builder mergeFileFlushInterval(com.google.protobuf.Duration value) {
if (fileFlushIntervalBuilder_ == null) {
if (fileFlushInterval_ != null) {
fileFlushInterval_ =
com.google.protobuf.Duration.newBuilder(fileFlushInterval_).mergeFrom(value).buildPartial();
} else {
fileFlushInterval_ = value;
}
onChanged();
} else {
fileFlushIntervalBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* See :option:`--file-flush-interval-msec` for details.
*
*
* .google.protobuf.Duration file_flush_interval = 16;
*/
public Builder clearFileFlushInterval() {
if (fileFlushIntervalBuilder_ == null) {
fileFlushInterval_ = null;
onChanged();
} else {
fileFlushInterval_ = null;
fileFlushIntervalBuilder_ = null;
}
return this;
}
/**
*
* See :option:`--file-flush-interval-msec` for details.
*
*
* .google.protobuf.Duration file_flush_interval = 16;
*/
public com.google.protobuf.Duration.Builder getFileFlushIntervalBuilder() {
onChanged();
return getFileFlushIntervalFieldBuilder().getBuilder();
}
/**
*
* See :option:`--file-flush-interval-msec` for details.
*
*
* .google.protobuf.Duration file_flush_interval = 16;
*/
public com.google.protobuf.DurationOrBuilder getFileFlushIntervalOrBuilder() {
if (fileFlushIntervalBuilder_ != null) {
return fileFlushIntervalBuilder_.getMessageOrBuilder();
} else {
return fileFlushInterval_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : fileFlushInterval_;
}
}
/**
*
* See :option:`--file-flush-interval-msec` for details.
*
*
* .google.protobuf.Duration file_flush_interval = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getFileFlushIntervalFieldBuilder() {
if (fileFlushIntervalBuilder_ == null) {
fileFlushIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getFileFlushInterval(),
getParentForChildren(),
isClean());
fileFlushInterval_ = null;
}
return fileFlushIntervalBuilder_;
}
private com.google.protobuf.Duration drainTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> drainTimeBuilder_;
/**
*
* See :option:`--drain-time-s` for details.
*
*
* .google.protobuf.Duration drain_time = 17;
*/
public boolean hasDrainTime() {
return drainTimeBuilder_ != null || drainTime_ != null;
}
/**
*
* See :option:`--drain-time-s` for details.
*
*
* .google.protobuf.Duration drain_time = 17;
*/
public com.google.protobuf.Duration getDrainTime() {
if (drainTimeBuilder_ == null) {
return drainTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : drainTime_;
} else {
return drainTimeBuilder_.getMessage();
}
}
/**
*
* See :option:`--drain-time-s` for details.
*
*
* .google.protobuf.Duration drain_time = 17;
*/
public Builder setDrainTime(com.google.protobuf.Duration value) {
if (drainTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
drainTime_ = value;
onChanged();
} else {
drainTimeBuilder_.setMessage(value);
}
return this;
}
/**
*
* See :option:`--drain-time-s` for details.
*
*
* .google.protobuf.Duration drain_time = 17;
*/
public Builder setDrainTime(
com.google.protobuf.Duration.Builder builderForValue) {
if (drainTimeBuilder_ == null) {
drainTime_ = builderForValue.build();
onChanged();
} else {
drainTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* See :option:`--drain-time-s` for details.
*
*
* .google.protobuf.Duration drain_time = 17;
*/
public Builder mergeDrainTime(com.google.protobuf.Duration value) {
if (drainTimeBuilder_ == null) {
if (drainTime_ != null) {
drainTime_ =
com.google.protobuf.Duration.newBuilder(drainTime_).mergeFrom(value).buildPartial();
} else {
drainTime_ = value;
}
onChanged();
} else {
drainTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* See :option:`--drain-time-s` for details.
*
*
* .google.protobuf.Duration drain_time = 17;
*/
public Builder clearDrainTime() {
if (drainTimeBuilder_ == null) {
drainTime_ = null;
onChanged();
} else {
drainTime_ = null;
drainTimeBuilder_ = null;
}
return this;
}
/**
*
* See :option:`--drain-time-s` for details.
*
*
* .google.protobuf.Duration drain_time = 17;
*/
public com.google.protobuf.Duration.Builder getDrainTimeBuilder() {
onChanged();
return getDrainTimeFieldBuilder().getBuilder();
}
/**
*
* See :option:`--drain-time-s` for details.
*
*
* .google.protobuf.Duration drain_time = 17;
*/
public com.google.protobuf.DurationOrBuilder getDrainTimeOrBuilder() {
if (drainTimeBuilder_ != null) {
return drainTimeBuilder_.getMessageOrBuilder();
} else {
return drainTime_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : drainTime_;
}
}
/**
*
* See :option:`--drain-time-s` for details.
*
*
* .google.protobuf.Duration drain_time = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getDrainTimeFieldBuilder() {
if (drainTimeBuilder_ == null) {
drainTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getDrainTime(),
getParentForChildren(),
isClean());
drainTime_ = null;
}
return drainTimeBuilder_;
}
private com.google.protobuf.Duration parentShutdownTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> parentShutdownTimeBuilder_;
/**
*
* See :option:`--parent-shutdown-time-s` for details.
*
*
* .google.protobuf.Duration parent_shutdown_time = 18;
*/
public boolean hasParentShutdownTime() {
return parentShutdownTimeBuilder_ != null || parentShutdownTime_ != null;
}
/**
*
* See :option:`--parent-shutdown-time-s` for details.
*
*
* .google.protobuf.Duration parent_shutdown_time = 18;
*/
public com.google.protobuf.Duration getParentShutdownTime() {
if (parentShutdownTimeBuilder_ == null) {
return parentShutdownTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : parentShutdownTime_;
} else {
return parentShutdownTimeBuilder_.getMessage();
}
}
/**
*
* See :option:`--parent-shutdown-time-s` for details.
*
*
* .google.protobuf.Duration parent_shutdown_time = 18;
*/
public Builder setParentShutdownTime(com.google.protobuf.Duration value) {
if (parentShutdownTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
parentShutdownTime_ = value;
onChanged();
} else {
parentShutdownTimeBuilder_.setMessage(value);
}
return this;
}
/**
*
* See :option:`--parent-shutdown-time-s` for details.
*
*
* .google.protobuf.Duration parent_shutdown_time = 18;
*/
public Builder setParentShutdownTime(
com.google.protobuf.Duration.Builder builderForValue) {
if (parentShutdownTimeBuilder_ == null) {
parentShutdownTime_ = builderForValue.build();
onChanged();
} else {
parentShutdownTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* See :option:`--parent-shutdown-time-s` for details.
*
*
* .google.protobuf.Duration parent_shutdown_time = 18;
*/
public Builder mergeParentShutdownTime(com.google.protobuf.Duration value) {
if (parentShutdownTimeBuilder_ == null) {
if (parentShutdownTime_ != null) {
parentShutdownTime_ =
com.google.protobuf.Duration.newBuilder(parentShutdownTime_).mergeFrom(value).buildPartial();
} else {
parentShutdownTime_ = value;
}
onChanged();
} else {
parentShutdownTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* See :option:`--parent-shutdown-time-s` for details.
*
*
* .google.protobuf.Duration parent_shutdown_time = 18;
*/
public Builder clearParentShutdownTime() {
if (parentShutdownTimeBuilder_ == null) {
parentShutdownTime_ = null;
onChanged();
} else {
parentShutdownTime_ = null;
parentShutdownTimeBuilder_ = null;
}
return this;
}
/**
*
* See :option:`--parent-shutdown-time-s` for details.
*
*
* .google.protobuf.Duration parent_shutdown_time = 18;
*/
public com.google.protobuf.Duration.Builder getParentShutdownTimeBuilder() {
onChanged();
return getParentShutdownTimeFieldBuilder().getBuilder();
}
/**
*
* See :option:`--parent-shutdown-time-s` for details.
*
*
* .google.protobuf.Duration parent_shutdown_time = 18;
*/
public com.google.protobuf.DurationOrBuilder getParentShutdownTimeOrBuilder() {
if (parentShutdownTimeBuilder_ != null) {
return parentShutdownTimeBuilder_.getMessageOrBuilder();
} else {
return parentShutdownTime_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : parentShutdownTime_;
}
}
/**
*
* See :option:`--parent-shutdown-time-s` for details.
*
*
* .google.protobuf.Duration parent_shutdown_time = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getParentShutdownTimeFieldBuilder() {
if (parentShutdownTimeBuilder_ == null) {
parentShutdownTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getParentShutdownTime(),
getParentForChildren(),
isClean());
parentShutdownTime_ = null;
}
return parentShutdownTimeBuilder_;
}
private int mode_ = 0;
/**
*
* See :option:`--mode` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.Mode mode = 19;
*/
public int getModeValue() {
return mode_;
}
/**
*
* See :option:`--mode` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.Mode mode = 19;
*/
public Builder setModeValue(int value) {
mode_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--mode` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.Mode mode = 19;
*/
public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode getMode() {
@SuppressWarnings("deprecation")
io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode result = io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode.valueOf(mode_);
return result == null ? io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode.UNRECOGNIZED : result;
}
/**
*
* See :option:`--mode` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.Mode mode = 19;
*/
public Builder setMode(io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode value) {
if (value == null) {
throw new NullPointerException();
}
mode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* See :option:`--mode` for details.
*
*
* .envoy.admin.v2alpha.CommandLineOptions.Mode mode = 19;
*/
public Builder clearMode() {
mode_ = 0;
onChanged();
return this;
}
private long maxStats_ ;
/**
*
* max_stats and max_obj_name_len are now unused and have no effect.
*
*
* uint64 max_stats = 20 [deprecated = true];
*/
@java.lang.Deprecated public long getMaxStats() {
return maxStats_;
}
/**
*
* max_stats and max_obj_name_len are now unused and have no effect.
*
*
* uint64 max_stats = 20 [deprecated = true];
*/
@java.lang.Deprecated public Builder setMaxStats(long value) {
maxStats_ = value;
onChanged();
return this;
}
/**
*
* max_stats and max_obj_name_len are now unused and have no effect.
*
*
* uint64 max_stats = 20 [deprecated = true];
*/
@java.lang.Deprecated public Builder clearMaxStats() {
maxStats_ = 0L;
onChanged();
return this;
}
private long maxObjNameLen_ ;
/**
* uint64 max_obj_name_len = 21 [deprecated = true];
*/
@java.lang.Deprecated public long getMaxObjNameLen() {
return maxObjNameLen_;
}
/**
* uint64 max_obj_name_len = 21 [deprecated = true];
*/
@java.lang.Deprecated public Builder setMaxObjNameLen(long value) {
maxObjNameLen_ = value;
onChanged();
return this;
}
/**
* uint64 max_obj_name_len = 21 [deprecated = true];
*/
@java.lang.Deprecated public Builder clearMaxObjNameLen() {
maxObjNameLen_ = 0L;
onChanged();
return this;
}
private boolean disableHotRestart_ ;
/**
*
* See :option:`--disable-hot-restart` for details.
*
*
* bool disable_hot_restart = 22;
*/
public boolean getDisableHotRestart() {
return disableHotRestart_;
}
/**
*
* See :option:`--disable-hot-restart` for details.
*
*
* bool disable_hot_restart = 22;
*/
public Builder setDisableHotRestart(boolean value) {
disableHotRestart_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--disable-hot-restart` for details.
*
*
* bool disable_hot_restart = 22;
*/
public Builder clearDisableHotRestart() {
disableHotRestart_ = false;
onChanged();
return this;
}
private boolean enableMutexTracing_ ;
/**
*
* See :option:`--enable-mutex-tracing` for details.
*
*
* bool enable_mutex_tracing = 23;
*/
public boolean getEnableMutexTracing() {
return enableMutexTracing_;
}
/**
*
* See :option:`--enable-mutex-tracing` for details.
*
*
* bool enable_mutex_tracing = 23;
*/
public Builder setEnableMutexTracing(boolean value) {
enableMutexTracing_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--enable-mutex-tracing` for details.
*
*
* bool enable_mutex_tracing = 23;
*/
public Builder clearEnableMutexTracing() {
enableMutexTracing_ = false;
onChanged();
return this;
}
private int restartEpoch_ ;
/**
*
* See :option:`--restart-epoch` for details.
*
*
* uint32 restart_epoch = 24;
*/
public int getRestartEpoch() {
return restartEpoch_;
}
/**
*
* See :option:`--restart-epoch` for details.
*
*
* uint32 restart_epoch = 24;
*/
public Builder setRestartEpoch(int value) {
restartEpoch_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--restart-epoch` for details.
*
*
* uint32 restart_epoch = 24;
*/
public Builder clearRestartEpoch() {
restartEpoch_ = 0;
onChanged();
return this;
}
private boolean cpusetThreads_ ;
/**
*
* See :option:`--cpuset-threads` for details.
*
*
* bool cpuset_threads = 25;
*/
public boolean getCpusetThreads() {
return cpusetThreads_;
}
/**
*
* See :option:`--cpuset-threads` for details.
*
*
* bool cpuset_threads = 25;
*/
public Builder setCpusetThreads(boolean value) {
cpusetThreads_ = value;
onChanged();
return this;
}
/**
*
* See :option:`--cpuset-threads` for details.
*
*
* bool cpuset_threads = 25;
*/
public Builder clearCpusetThreads() {
cpusetThreads_ = false;
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.v2alpha.CommandLineOptions)
}
// @@protoc_insertion_point(class_scope:envoy.admin.v2alpha.CommandLineOptions)
private static final io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions();
}
public static io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CommandLineOptions parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CommandLineOptions(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.CommandLineOptions getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}