All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions Maven / Gradle / Ivy

There is a newer version: 1.0.47
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/admin/v2alpha/server_info.proto

// Protobuf Java Version: 3.25.1
package io.envoyproxy.envoy.admin.v2alpha;

/**
 * 
 * [#next-free-field: 29]
 * 
* * 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; disabledExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CommandLineOptions(); } 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; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static IpVersion valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire 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() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } 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; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Mode valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire 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() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } 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) } private int bitField0_; public static final int BASE_ID_FIELD_NUMBER = 1; private long baseId_ = 0L; /** *
   * See :option:`--base-id` for details.
   * 
* * uint64 base_id = 1; * @return The baseId. */ @java.lang.Override public long getBaseId() { return baseId_; } public static final int CONCURRENCY_FIELD_NUMBER = 2; private int concurrency_ = 0; /** *
   * See :option:`--concurrency` for details.
   * 
* * uint32 concurrency = 2; * @return The concurrency. */ @java.lang.Override public int getConcurrency() { return concurrency_; } public static final int CONFIG_PATH_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object configPath_ = ""; /** *
   * See :option:`--config-path` for details.
   * 
* * string config_path = 3; * @return The configPath. */ @java.lang.Override 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; * @return The bytes for configPath. */ @java.lang.Override 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; @SuppressWarnings("serial") private volatile java.lang.Object configYaml_ = ""; /** *
   * See :option:`--config-yaml` for details.
   * 
* * string config_yaml = 4; * @return The configYaml. */ @java.lang.Override 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; * @return The bytes for configYaml. */ @java.lang.Override 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_ = false; /** *
   * See :option:`--allow-unknown-static-fields` for details.
   * 
* * bool allow_unknown_static_fields = 5; * @return The allowUnknownStaticFields. */ @java.lang.Override public boolean getAllowUnknownStaticFields() { return allowUnknownStaticFields_; } public static final int REJECT_UNKNOWN_DYNAMIC_FIELDS_FIELD_NUMBER = 26; private boolean rejectUnknownDynamicFields_ = false; /** *
   * See :option:`--reject-unknown-dynamic-fields` for details.
   * 
* * bool reject_unknown_dynamic_fields = 26; * @return The rejectUnknownDynamicFields. */ @java.lang.Override public boolean getRejectUnknownDynamicFields() { return rejectUnknownDynamicFields_; } public static final int ADMIN_ADDRESS_PATH_FIELD_NUMBER = 6; @SuppressWarnings("serial") private volatile java.lang.Object adminAddressPath_ = ""; /** *
   * See :option:`--admin-address-path` for details.
   * 
* * string admin_address_path = 6; * @return The adminAddressPath. */ @java.lang.Override 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; * @return The bytes for adminAddressPath. */ @java.lang.Override 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_ = 0; /** *
   * See :option:`--local-address-ip-version` for details.
   * 
* * .envoy.admin.v2alpha.CommandLineOptions.IpVersion local_address_ip_version = 7; * @return The enum numeric value on the wire for localAddressIpVersion. */ @java.lang.Override public int getLocalAddressIpVersionValue() { return localAddressIpVersion_; } /** *
   * See :option:`--local-address-ip-version` for details.
   * 
* * .envoy.admin.v2alpha.CommandLineOptions.IpVersion local_address_ip_version = 7; * @return The localAddressIpVersion. */ @java.lang.Override public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion getLocalAddressIpVersion() { io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion result = io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion.forNumber(localAddressIpVersion_); return result == null ? io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion.UNRECOGNIZED : result; } public static final int LOG_LEVEL_FIELD_NUMBER = 8; @SuppressWarnings("serial") private volatile java.lang.Object logLevel_ = ""; /** *
   * See :option:`--log-level` for details.
   * 
* * string log_level = 8; * @return The logLevel. */ @java.lang.Override 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; * @return The bytes for logLevel. */ @java.lang.Override 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; @SuppressWarnings("serial") private volatile java.lang.Object componentLogLevel_ = ""; /** *
   * See :option:`--component-log-level` for details.
   * 
* * string component_log_level = 9; * @return The componentLogLevel. */ @java.lang.Override 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; * @return The bytes for componentLogLevel. */ @java.lang.Override 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; @SuppressWarnings("serial") private volatile java.lang.Object logFormat_ = ""; /** *
   * See :option:`--log-format` for details.
   * 
* * string log_format = 10; * @return The logFormat. */ @java.lang.Override 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; * @return The bytes for logFormat. */ @java.lang.Override 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_FORMAT_ESCAPED_FIELD_NUMBER = 27; private boolean logFormatEscaped_ = false; /** *
   * See :option:`--log-format-escaped` for details.
   * 
* * bool log_format_escaped = 27; * @return The logFormatEscaped. */ @java.lang.Override public boolean getLogFormatEscaped() { return logFormatEscaped_; } public static final int LOG_PATH_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object logPath_ = ""; /** *
   * See :option:`--log-path` for details.
   * 
* * string log_path = 11; * @return The logPath. */ @java.lang.Override 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; * @return The bytes for logPath. */ @java.lang.Override 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; @SuppressWarnings("serial") private volatile java.lang.Object serviceCluster_ = ""; /** *
   * See :option:`--service-cluster` for details.
   * 
* * string service_cluster = 13; * @return The serviceCluster. */ @java.lang.Override 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; * @return The bytes for serviceCluster. */ @java.lang.Override 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; @SuppressWarnings("serial") private volatile java.lang.Object serviceNode_ = ""; /** *
   * See :option:`--service-node` for details.
   * 
* * string service_node = 14; * @return The serviceNode. */ @java.lang.Override 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; * @return The bytes for serviceNode. */ @java.lang.Override 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; @SuppressWarnings("serial") private volatile java.lang.Object serviceZone_ = ""; /** *
   * See :option:`--service-zone` for details.
   * 
* * string service_zone = 15; * @return The serviceZone. */ @java.lang.Override 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; * @return The bytes for serviceZone. */ @java.lang.Override 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; * @return Whether the fileFlushInterval field is set. */ @java.lang.Override public boolean hasFileFlushInterval() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * See :option:`--file-flush-interval-msec` for details.
   * 
* * .google.protobuf.Duration file_flush_interval = 16; * @return The fileFlushInterval. */ @java.lang.Override 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; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getFileFlushIntervalOrBuilder() { return fileFlushInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : fileFlushInterval_; } 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; * @return Whether the drainTime field is set. */ @java.lang.Override public boolean hasDrainTime() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * See :option:`--drain-time-s` for details.
   * 
* * .google.protobuf.Duration drain_time = 17; * @return The drainTime. */ @java.lang.Override 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; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getDrainTimeOrBuilder() { return drainTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : drainTime_; } 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; * @return Whether the parentShutdownTime field is set. */ @java.lang.Override public boolean hasParentShutdownTime() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * See :option:`--parent-shutdown-time-s` for details.
   * 
* * .google.protobuf.Duration parent_shutdown_time = 18; * @return The parentShutdownTime. */ @java.lang.Override 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; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getParentShutdownTimeOrBuilder() { return parentShutdownTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : parentShutdownTime_; } public static final int MODE_FIELD_NUMBER = 19; private int mode_ = 0; /** *
   * See :option:`--mode` for details.
   * 
* * .envoy.admin.v2alpha.CommandLineOptions.Mode mode = 19; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** *
   * See :option:`--mode` for details.
   * 
* * .envoy.admin.v2alpha.CommandLineOptions.Mode mode = 19; * @return The mode. */ @java.lang.Override public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode getMode() { io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode result = io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode.forNumber(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_ = 0L; /** *
   * max_stats and max_obj_name_len are now unused and have no effect.
   * 
* * uint64 max_stats = 20 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; * @deprecated envoy.admin.v2alpha.CommandLineOptions.max_stats is deprecated. * See envoy/admin/v2alpha/server_info.proto;l=135 * @return The maxStats. */ @java.lang.Override @java.lang.Deprecated public long getMaxStats() { return maxStats_; } public static final int MAX_OBJ_NAME_LEN_FIELD_NUMBER = 21; private long maxObjNameLen_ = 0L; /** * uint64 max_obj_name_len = 21 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; * @deprecated envoy.admin.v2alpha.CommandLineOptions.max_obj_name_len is deprecated. * See envoy/admin/v2alpha/server_info.proto;l=137 * @return The maxObjNameLen. */ @java.lang.Override @java.lang.Deprecated public long getMaxObjNameLen() { return maxObjNameLen_; } public static final int DISABLE_HOT_RESTART_FIELD_NUMBER = 22; private boolean disableHotRestart_ = false; /** *
   * See :option:`--disable-hot-restart` for details.
   * 
* * bool disable_hot_restart = 22; * @return The disableHotRestart. */ @java.lang.Override public boolean getDisableHotRestart() { return disableHotRestart_; } public static final int ENABLE_MUTEX_TRACING_FIELD_NUMBER = 23; private boolean enableMutexTracing_ = false; /** *
   * See :option:`--enable-mutex-tracing` for details.
   * 
* * bool enable_mutex_tracing = 23; * @return The enableMutexTracing. */ @java.lang.Override public boolean getEnableMutexTracing() { return enableMutexTracing_; } public static final int RESTART_EPOCH_FIELD_NUMBER = 24; private int restartEpoch_ = 0; /** *
   * See :option:`--restart-epoch` for details.
   * 
* * uint32 restart_epoch = 24; * @return The restartEpoch. */ @java.lang.Override public int getRestartEpoch() { return restartEpoch_; } public static final int CPUSET_THREADS_FIELD_NUMBER = 25; private boolean cpusetThreads_ = false; /** *
   * See :option:`--cpuset-threads` for details.
   * 
* * bool cpuset_threads = 25; * @return The cpusetThreads. */ @java.lang.Override public boolean getCpusetThreads() { return cpusetThreads_; } public static final int DISABLED_EXTENSIONS_FIELD_NUMBER = 28; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList disabledExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   * See :option:`--disable-extensions` for details.
   * 
* * repeated string disabled_extensions = 28; * @return A list containing the disabledExtensions. */ public com.google.protobuf.ProtocolStringList getDisabledExtensionsList() { return disabledExtensions_; } /** *
   * See :option:`--disable-extensions` for details.
   * 
* * repeated string disabled_extensions = 28; * @return The count of disabledExtensions. */ public int getDisabledExtensionsCount() { return disabledExtensions_.size(); } /** *
   * See :option:`--disable-extensions` for details.
   * 
* * repeated string disabled_extensions = 28; * @param index The index of the element to return. * @return The disabledExtensions at the given index. */ public java.lang.String getDisabledExtensions(int index) { return disabledExtensions_.get(index); } /** *
   * See :option:`--disable-extensions` for details.
   * 
* * repeated string disabled_extensions = 28; * @param index The index of the value to return. * @return The bytes of the disabledExtensions at the given index. */ public com.google.protobuf.ByteString getDisabledExtensionsBytes(int index) { return disabledExtensions_.getByteString(index); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(configPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, configPath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(configYaml_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, configYaml_); } if (allowUnknownStaticFields_ != false) { output.writeBool(5, allowUnknownStaticFields_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(adminAddressPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, adminAddressPath_); } if (localAddressIpVersion_ != io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion.v4.getNumber()) { output.writeEnum(7, localAddressIpVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logLevel_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, logLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentLogLevel_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, componentLogLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logFormat_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, logFormat_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, logPath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, serviceCluster_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceNode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, serviceNode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceZone_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, serviceZone_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(16, getFileFlushInterval()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(17, getDrainTime()); } if (((bitField0_ & 0x00000004) != 0)) { 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_); } if (logFormatEscaped_ != false) { output.writeBool(27, logFormatEscaped_); } for (int i = 0; i < disabledExtensions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 28, disabledExtensions_.getRaw(i)); } getUnknownFields().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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(configPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, configPath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(configYaml_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, configYaml_); } if (allowUnknownStaticFields_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, allowUnknownStaticFields_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(adminAddressPath_)) { 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logLevel_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, logLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentLogLevel_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, componentLogLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logFormat_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, logFormat_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, logPath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceCluster_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, serviceCluster_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceNode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, serviceNode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, serviceZone_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getFileFlushInterval()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getDrainTime()); } if (((bitField0_ & 0x00000004) != 0)) { 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_); } if (logFormatEscaped_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(27, logFormatEscaped_); } { int dataSize = 0; for (int i = 0; i < disabledExtensions_.size(); i++) { dataSize += computeStringSizeNoTag(disabledExtensions_.getRaw(i)); } size += dataSize; size += 2 * getDisabledExtensionsList().size(); } size += getUnknownFields().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 (getLogFormatEscaped() != other.getLogFormatEscaped()) 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 (!getDisabledExtensionsList() .equals(other.getDisabledExtensionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) 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_FORMAT_ESCAPED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getLogFormatEscaped()); 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()); if (getDisabledExtensionsCount() > 0) { hash = (37 * hash) + DISABLED_EXTENSIONS_FIELD_NUMBER; hash = (53 * hash) + getDisabledExtensionsList().hashCode(); } hash = (29 * hash) + getUnknownFields().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; } /** *
   * [#next-free-field: 29]
   * 
* * 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) { getFileFlushIntervalFieldBuilder(); getDrainTimeFieldBuilder(); getParentShutdownTimeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; baseId_ = 0L; concurrency_ = 0; configPath_ = ""; configYaml_ = ""; allowUnknownStaticFields_ = false; rejectUnknownDynamicFields_ = false; adminAddressPath_ = ""; localAddressIpVersion_ = 0; logLevel_ = ""; componentLogLevel_ = ""; logFormat_ = ""; logFormatEscaped_ = false; logPath_ = ""; serviceCluster_ = ""; serviceNode_ = ""; serviceZone_ = ""; fileFlushInterval_ = null; if (fileFlushIntervalBuilder_ != null) { fileFlushIntervalBuilder_.dispose(); fileFlushIntervalBuilder_ = null; } drainTime_ = null; if (drainTimeBuilder_ != null) { drainTimeBuilder_.dispose(); drainTimeBuilder_ = null; } parentShutdownTime_ = null; if (parentShutdownTimeBuilder_ != null) { parentShutdownTimeBuilder_.dispose(); parentShutdownTimeBuilder_ = null; } mode_ = 0; maxStats_ = 0L; maxObjNameLen_ = 0L; disableHotRestart_ = false; enableMutexTracing_ = false; restartEpoch_ = 0; cpusetThreads_ = false; disabledExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); 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); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.baseId_ = baseId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.concurrency_ = concurrency_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.configPath_ = configPath_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.configYaml_ = configYaml_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.allowUnknownStaticFields_ = allowUnknownStaticFields_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.rejectUnknownDynamicFields_ = rejectUnknownDynamicFields_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.adminAddressPath_ = adminAddressPath_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.localAddressIpVersion_ = localAddressIpVersion_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.logLevel_ = logLevel_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.componentLogLevel_ = componentLogLevel_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.logFormat_ = logFormat_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.logFormatEscaped_ = logFormatEscaped_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.logPath_ = logPath_; } if (((from_bitField0_ & 0x00002000) != 0)) { result.serviceCluster_ = serviceCluster_; } if (((from_bitField0_ & 0x00004000) != 0)) { result.serviceNode_ = serviceNode_; } if (((from_bitField0_ & 0x00008000) != 0)) { result.serviceZone_ = serviceZone_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00010000) != 0)) { result.fileFlushInterval_ = fileFlushIntervalBuilder_ == null ? fileFlushInterval_ : fileFlushIntervalBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00020000) != 0)) { result.drainTime_ = drainTimeBuilder_ == null ? drainTime_ : drainTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00040000) != 0)) { result.parentShutdownTime_ = parentShutdownTimeBuilder_ == null ? parentShutdownTime_ : parentShutdownTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00080000) != 0)) { result.mode_ = mode_; } if (((from_bitField0_ & 0x00100000) != 0)) { result.maxStats_ = maxStats_; } if (((from_bitField0_ & 0x00200000) != 0)) { result.maxObjNameLen_ = maxObjNameLen_; } if (((from_bitField0_ & 0x00400000) != 0)) { result.disableHotRestart_ = disableHotRestart_; } if (((from_bitField0_ & 0x00800000) != 0)) { result.enableMutexTracing_ = enableMutexTracing_; } if (((from_bitField0_ & 0x01000000) != 0)) { result.restartEpoch_ = restartEpoch_; } if (((from_bitField0_ & 0x02000000) != 0)) { result.cpusetThreads_ = cpusetThreads_; } if (((from_bitField0_ & 0x04000000) != 0)) { disabledExtensions_.makeImmutable(); result.disabledExtensions_ = disabledExtensions_; } result.bitField0_ |= to_bitField0_; } @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_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getConfigYaml().isEmpty()) { configYaml_ = other.configYaml_; bitField0_ |= 0x00000008; onChanged(); } if (other.getAllowUnknownStaticFields() != false) { setAllowUnknownStaticFields(other.getAllowUnknownStaticFields()); } if (other.getRejectUnknownDynamicFields() != false) { setRejectUnknownDynamicFields(other.getRejectUnknownDynamicFields()); } if (!other.getAdminAddressPath().isEmpty()) { adminAddressPath_ = other.adminAddressPath_; bitField0_ |= 0x00000040; onChanged(); } if (other.localAddressIpVersion_ != 0) { setLocalAddressIpVersionValue(other.getLocalAddressIpVersionValue()); } if (!other.getLogLevel().isEmpty()) { logLevel_ = other.logLevel_; bitField0_ |= 0x00000100; onChanged(); } if (!other.getComponentLogLevel().isEmpty()) { componentLogLevel_ = other.componentLogLevel_; bitField0_ |= 0x00000200; onChanged(); } if (!other.getLogFormat().isEmpty()) { logFormat_ = other.logFormat_; bitField0_ |= 0x00000400; onChanged(); } if (other.getLogFormatEscaped() != false) { setLogFormatEscaped(other.getLogFormatEscaped()); } if (!other.getLogPath().isEmpty()) { logPath_ = other.logPath_; bitField0_ |= 0x00001000; onChanged(); } if (!other.getServiceCluster().isEmpty()) { serviceCluster_ = other.serviceCluster_; bitField0_ |= 0x00002000; onChanged(); } if (!other.getServiceNode().isEmpty()) { serviceNode_ = other.serviceNode_; bitField0_ |= 0x00004000; onChanged(); } if (!other.getServiceZone().isEmpty()) { serviceZone_ = other.serviceZone_; bitField0_ |= 0x00008000; 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()); } if (!other.disabledExtensions_.isEmpty()) { if (disabledExtensions_.isEmpty()) { disabledExtensions_ = other.disabledExtensions_; bitField0_ |= 0x04000000; } else { ensureDisabledExtensionsIsMutable(); disabledExtensions_.addAll(other.disabledExtensions_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { baseId_ = input.readUInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { concurrency_ = input.readUInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { configPath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { configYaml_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 40: { allowUnknownStaticFields_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 40 case 50: { adminAddressPath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000040; break; } // case 50 case 56: { localAddressIpVersion_ = input.readEnum(); bitField0_ |= 0x00000080; break; } // case 56 case 66: { logLevel_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000100; break; } // case 66 case 74: { componentLogLevel_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000200; break; } // case 74 case 82: { logFormat_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000400; break; } // case 82 case 90: { logPath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00001000; break; } // case 90 case 106: { serviceCluster_ = input.readStringRequireUtf8(); bitField0_ |= 0x00002000; break; } // case 106 case 114: { serviceNode_ = input.readStringRequireUtf8(); bitField0_ |= 0x00004000; break; } // case 114 case 122: { serviceZone_ = input.readStringRequireUtf8(); bitField0_ |= 0x00008000; break; } // case 122 case 130: { input.readMessage( getFileFlushIntervalFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00010000; break; } // case 130 case 138: { input.readMessage( getDrainTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00020000; break; } // case 138 case 146: { input.readMessage( getParentShutdownTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00040000; break; } // case 146 case 152: { mode_ = input.readEnum(); bitField0_ |= 0x00080000; break; } // case 152 case 160: { maxStats_ = input.readUInt64(); bitField0_ |= 0x00100000; break; } // case 160 case 168: { maxObjNameLen_ = input.readUInt64(); bitField0_ |= 0x00200000; break; } // case 168 case 176: { disableHotRestart_ = input.readBool(); bitField0_ |= 0x00400000; break; } // case 176 case 184: { enableMutexTracing_ = input.readBool(); bitField0_ |= 0x00800000; break; } // case 184 case 192: { restartEpoch_ = input.readUInt32(); bitField0_ |= 0x01000000; break; } // case 192 case 200: { cpusetThreads_ = input.readBool(); bitField0_ |= 0x02000000; break; } // case 200 case 208: { rejectUnknownDynamicFields_ = input.readBool(); bitField0_ |= 0x00000020; break; } // case 208 case 216: { logFormatEscaped_ = input.readBool(); bitField0_ |= 0x00000800; break; } // case 216 case 226: { java.lang.String s = input.readStringRequireUtf8(); ensureDisabledExtensionsIsMutable(); disabledExtensions_.add(s); break; } // case 226 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long baseId_ ; /** *
     * See :option:`--base-id` for details.
     * 
* * uint64 base_id = 1; * @return The baseId. */ @java.lang.Override public long getBaseId() { return baseId_; } /** *
     * See :option:`--base-id` for details.
     * 
* * uint64 base_id = 1; * @param value The baseId to set. * @return This builder for chaining. */ public Builder setBaseId(long value) { baseId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * See :option:`--base-id` for details.
     * 
* * uint64 base_id = 1; * @return This builder for chaining. */ public Builder clearBaseId() { bitField0_ = (bitField0_ & ~0x00000001); baseId_ = 0L; onChanged(); return this; } private int concurrency_ ; /** *
     * See :option:`--concurrency` for details.
     * 
* * uint32 concurrency = 2; * @return The concurrency. */ @java.lang.Override public int getConcurrency() { return concurrency_; } /** *
     * See :option:`--concurrency` for details.
     * 
* * uint32 concurrency = 2; * @param value The concurrency to set. * @return This builder for chaining. */ public Builder setConcurrency(int value) { concurrency_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * See :option:`--concurrency` for details.
     * 
* * uint32 concurrency = 2; * @return This builder for chaining. */ public Builder clearConcurrency() { bitField0_ = (bitField0_ & ~0x00000002); concurrency_ = 0; onChanged(); return this; } private java.lang.Object configPath_ = ""; /** *
     * See :option:`--config-path` for details.
     * 
* * string config_path = 3; * @return The configPath. */ 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; * @return The bytes for configPath. */ 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; * @param value The configPath to set. * @return This builder for chaining. */ public Builder setConfigPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } configPath_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * See :option:`--config-path` for details.
     * 
* * string config_path = 3; * @return This builder for chaining. */ public Builder clearConfigPath() { configPath_ = getDefaultInstance().getConfigPath(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     * See :option:`--config-path` for details.
     * 
* * string config_path = 3; * @param value The bytes for configPath to set. * @return This builder for chaining. */ public Builder setConfigPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); configPath_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object configYaml_ = ""; /** *
     * See :option:`--config-yaml` for details.
     * 
* * string config_yaml = 4; * @return The configYaml. */ 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; * @return The bytes for configYaml. */ 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; * @param value The configYaml to set. * @return This builder for chaining. */ public Builder setConfigYaml( java.lang.String value) { if (value == null) { throw new NullPointerException(); } configYaml_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * See :option:`--config-yaml` for details.
     * 
* * string config_yaml = 4; * @return This builder for chaining. */ public Builder clearConfigYaml() { configYaml_ = getDefaultInstance().getConfigYaml(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     * See :option:`--config-yaml` for details.
     * 
* * string config_yaml = 4; * @param value The bytes for configYaml to set. * @return This builder for chaining. */ public Builder setConfigYamlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); configYaml_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private boolean allowUnknownStaticFields_ ; /** *
     * See :option:`--allow-unknown-static-fields` for details.
     * 
* * bool allow_unknown_static_fields = 5; * @return The allowUnknownStaticFields. */ @java.lang.Override public boolean getAllowUnknownStaticFields() { return allowUnknownStaticFields_; } /** *
     * See :option:`--allow-unknown-static-fields` for details.
     * 
* * bool allow_unknown_static_fields = 5; * @param value The allowUnknownStaticFields to set. * @return This builder for chaining. */ public Builder setAllowUnknownStaticFields(boolean value) { allowUnknownStaticFields_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * See :option:`--allow-unknown-static-fields` for details.
     * 
* * bool allow_unknown_static_fields = 5; * @return This builder for chaining. */ public Builder clearAllowUnknownStaticFields() { bitField0_ = (bitField0_ & ~0x00000010); allowUnknownStaticFields_ = false; onChanged(); return this; } private boolean rejectUnknownDynamicFields_ ; /** *
     * See :option:`--reject-unknown-dynamic-fields` for details.
     * 
* * bool reject_unknown_dynamic_fields = 26; * @return The rejectUnknownDynamicFields. */ @java.lang.Override public boolean getRejectUnknownDynamicFields() { return rejectUnknownDynamicFields_; } /** *
     * See :option:`--reject-unknown-dynamic-fields` for details.
     * 
* * bool reject_unknown_dynamic_fields = 26; * @param value The rejectUnknownDynamicFields to set. * @return This builder for chaining. */ public Builder setRejectUnknownDynamicFields(boolean value) { rejectUnknownDynamicFields_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * See :option:`--reject-unknown-dynamic-fields` for details.
     * 
* * bool reject_unknown_dynamic_fields = 26; * @return This builder for chaining. */ public Builder clearRejectUnknownDynamicFields() { bitField0_ = (bitField0_ & ~0x00000020); rejectUnknownDynamicFields_ = false; onChanged(); return this; } private java.lang.Object adminAddressPath_ = ""; /** *
     * See :option:`--admin-address-path` for details.
     * 
* * string admin_address_path = 6; * @return The adminAddressPath. */ 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; * @return The bytes for adminAddressPath. */ 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; * @param value The adminAddressPath to set. * @return This builder for chaining. */ public Builder setAdminAddressPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } adminAddressPath_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * See :option:`--admin-address-path` for details.
     * 
* * string admin_address_path = 6; * @return This builder for chaining. */ public Builder clearAdminAddressPath() { adminAddressPath_ = getDefaultInstance().getAdminAddressPath(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** *
     * See :option:`--admin-address-path` for details.
     * 
* * string admin_address_path = 6; * @param value The bytes for adminAddressPath to set. * @return This builder for chaining. */ public Builder setAdminAddressPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); adminAddressPath_ = value; bitField0_ |= 0x00000040; 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; * @return The enum numeric value on the wire for localAddressIpVersion. */ @java.lang.Override public int getLocalAddressIpVersionValue() { return localAddressIpVersion_; } /** *
     * See :option:`--local-address-ip-version` for details.
     * 
* * .envoy.admin.v2alpha.CommandLineOptions.IpVersion local_address_ip_version = 7; * @param value The enum numeric value on the wire for localAddressIpVersion to set. * @return This builder for chaining. */ public Builder setLocalAddressIpVersionValue(int value) { localAddressIpVersion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * See :option:`--local-address-ip-version` for details.
     * 
* * .envoy.admin.v2alpha.CommandLineOptions.IpVersion local_address_ip_version = 7; * @return The localAddressIpVersion. */ @java.lang.Override public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion getLocalAddressIpVersion() { io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion result = io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion.forNumber(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; * @param value The localAddressIpVersion to set. * @return This builder for chaining. */ public Builder setLocalAddressIpVersion(io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.IpVersion value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; localAddressIpVersion_ = value.getNumber(); onChanged(); return this; } /** *
     * See :option:`--local-address-ip-version` for details.
     * 
* * .envoy.admin.v2alpha.CommandLineOptions.IpVersion local_address_ip_version = 7; * @return This builder for chaining. */ public Builder clearLocalAddressIpVersion() { bitField0_ = (bitField0_ & ~0x00000080); localAddressIpVersion_ = 0; onChanged(); return this; } private java.lang.Object logLevel_ = ""; /** *
     * See :option:`--log-level` for details.
     * 
* * string log_level = 8; * @return The logLevel. */ 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; * @return The bytes for logLevel. */ 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; * @param value The logLevel to set. * @return This builder for chaining. */ public Builder setLogLevel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } logLevel_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * See :option:`--log-level` for details.
     * 
* * string log_level = 8; * @return This builder for chaining. */ public Builder clearLogLevel() { logLevel_ = getDefaultInstance().getLogLevel(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** *
     * See :option:`--log-level` for details.
     * 
* * string log_level = 8; * @param value The bytes for logLevel to set. * @return This builder for chaining. */ public Builder setLogLevelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); logLevel_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } private java.lang.Object componentLogLevel_ = ""; /** *
     * See :option:`--component-log-level` for details.
     * 
* * string component_log_level = 9; * @return The componentLogLevel. */ 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; * @return The bytes for componentLogLevel. */ 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; * @param value The componentLogLevel to set. * @return This builder for chaining. */ public Builder setComponentLogLevel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } componentLogLevel_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * See :option:`--component-log-level` for details.
     * 
* * string component_log_level = 9; * @return This builder for chaining. */ public Builder clearComponentLogLevel() { componentLogLevel_ = getDefaultInstance().getComponentLogLevel(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } /** *
     * See :option:`--component-log-level` for details.
     * 
* * string component_log_level = 9; * @param value The bytes for componentLogLevel to set. * @return This builder for chaining. */ public Builder setComponentLogLevelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); componentLogLevel_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } private java.lang.Object logFormat_ = ""; /** *
     * See :option:`--log-format` for details.
     * 
* * string log_format = 10; * @return The logFormat. */ 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; * @return The bytes for logFormat. */ 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; * @param value The logFormat to set. * @return This builder for chaining. */ public Builder setLogFormat( java.lang.String value) { if (value == null) { throw new NullPointerException(); } logFormat_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * See :option:`--log-format` for details.
     * 
* * string log_format = 10; * @return This builder for chaining. */ public Builder clearLogFormat() { logFormat_ = getDefaultInstance().getLogFormat(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** *
     * See :option:`--log-format` for details.
     * 
* * string log_format = 10; * @param value The bytes for logFormat to set. * @return This builder for chaining. */ public Builder setLogFormatBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); logFormat_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } private boolean logFormatEscaped_ ; /** *
     * See :option:`--log-format-escaped` for details.
     * 
* * bool log_format_escaped = 27; * @return The logFormatEscaped. */ @java.lang.Override public boolean getLogFormatEscaped() { return logFormatEscaped_; } /** *
     * See :option:`--log-format-escaped` for details.
     * 
* * bool log_format_escaped = 27; * @param value The logFormatEscaped to set. * @return This builder for chaining. */ public Builder setLogFormatEscaped(boolean value) { logFormatEscaped_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     * See :option:`--log-format-escaped` for details.
     * 
* * bool log_format_escaped = 27; * @return This builder for chaining. */ public Builder clearLogFormatEscaped() { bitField0_ = (bitField0_ & ~0x00000800); logFormatEscaped_ = false; onChanged(); return this; } private java.lang.Object logPath_ = ""; /** *
     * See :option:`--log-path` for details.
     * 
* * string log_path = 11; * @return The logPath. */ 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; * @return The bytes for logPath. */ 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; * @param value The logPath to set. * @return This builder for chaining. */ public Builder setLogPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } logPath_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     * See :option:`--log-path` for details.
     * 
* * string log_path = 11; * @return This builder for chaining. */ public Builder clearLogPath() { logPath_ = getDefaultInstance().getLogPath(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } /** *
     * See :option:`--log-path` for details.
     * 
* * string log_path = 11; * @param value The bytes for logPath to set. * @return This builder for chaining. */ public Builder setLogPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); logPath_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } private java.lang.Object serviceCluster_ = ""; /** *
     * See :option:`--service-cluster` for details.
     * 
* * string service_cluster = 13; * @return The serviceCluster. */ 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; * @return The bytes for serviceCluster. */ 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; * @param value The serviceCluster to set. * @return This builder for chaining. */ public Builder setServiceCluster( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serviceCluster_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     * See :option:`--service-cluster` for details.
     * 
* * string service_cluster = 13; * @return This builder for chaining. */ public Builder clearServiceCluster() { serviceCluster_ = getDefaultInstance().getServiceCluster(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } /** *
     * See :option:`--service-cluster` for details.
     * 
* * string service_cluster = 13; * @param value The bytes for serviceCluster to set. * @return This builder for chaining. */ public Builder setServiceClusterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceCluster_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } private java.lang.Object serviceNode_ = ""; /** *
     * See :option:`--service-node` for details.
     * 
* * string service_node = 14; * @return The serviceNode. */ 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; * @return The bytes for serviceNode. */ 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; * @param value The serviceNode to set. * @return This builder for chaining. */ public Builder setServiceNode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serviceNode_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** *
     * See :option:`--service-node` for details.
     * 
* * string service_node = 14; * @return This builder for chaining. */ public Builder clearServiceNode() { serviceNode_ = getDefaultInstance().getServiceNode(); bitField0_ = (bitField0_ & ~0x00004000); onChanged(); return this; } /** *
     * See :option:`--service-node` for details.
     * 
* * string service_node = 14; * @param value The bytes for serviceNode to set. * @return This builder for chaining. */ public Builder setServiceNodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceNode_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } private java.lang.Object serviceZone_ = ""; /** *
     * See :option:`--service-zone` for details.
     * 
* * string service_zone = 15; * @return The serviceZone. */ 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; * @return The bytes for serviceZone. */ 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; * @param value The serviceZone to set. * @return This builder for chaining. */ public Builder setServiceZone( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serviceZone_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** *
     * See :option:`--service-zone` for details.
     * 
* * string service_zone = 15; * @return This builder for chaining. */ public Builder clearServiceZone() { serviceZone_ = getDefaultInstance().getServiceZone(); bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } /** *
     * See :option:`--service-zone` for details.
     * 
* * string service_zone = 15; * @param value The bytes for serviceZone to set. * @return This builder for chaining. */ public Builder setServiceZoneBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceZone_ = value; bitField0_ |= 0x00008000; 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; * @return Whether the fileFlushInterval field is set. */ public boolean hasFileFlushInterval() { return ((bitField0_ & 0x00010000) != 0); } /** *
     * See :option:`--file-flush-interval-msec` for details.
     * 
* * .google.protobuf.Duration file_flush_interval = 16; * @return The fileFlushInterval. */ 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; } else { fileFlushIntervalBuilder_.setMessage(value); } bitField0_ |= 0x00010000; onChanged(); 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(); } else { fileFlushIntervalBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00010000; onChanged(); 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 (((bitField0_ & 0x00010000) != 0) && fileFlushInterval_ != null && fileFlushInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { getFileFlushIntervalBuilder().mergeFrom(value); } else { fileFlushInterval_ = value; } } else { fileFlushIntervalBuilder_.mergeFrom(value); } if (fileFlushInterval_ != null) { bitField0_ |= 0x00010000; onChanged(); } return this; } /** *
     * See :option:`--file-flush-interval-msec` for details.
     * 
* * .google.protobuf.Duration file_flush_interval = 16; */ public Builder clearFileFlushInterval() { bitField0_ = (bitField0_ & ~0x00010000); fileFlushInterval_ = null; if (fileFlushIntervalBuilder_ != null) { fileFlushIntervalBuilder_.dispose(); fileFlushIntervalBuilder_ = null; } onChanged(); return this; } /** *
     * See :option:`--file-flush-interval-msec` for details.
     * 
* * .google.protobuf.Duration file_flush_interval = 16; */ public com.google.protobuf.Duration.Builder getFileFlushIntervalBuilder() { bitField0_ |= 0x00010000; 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; * @return Whether the drainTime field is set. */ public boolean hasDrainTime() { return ((bitField0_ & 0x00020000) != 0); } /** *
     * See :option:`--drain-time-s` for details.
     * 
* * .google.protobuf.Duration drain_time = 17; * @return The drainTime. */ 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; } else { drainTimeBuilder_.setMessage(value); } bitField0_ |= 0x00020000; onChanged(); 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(); } else { drainTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00020000; onChanged(); 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 (((bitField0_ & 0x00020000) != 0) && drainTime_ != null && drainTime_ != com.google.protobuf.Duration.getDefaultInstance()) { getDrainTimeBuilder().mergeFrom(value); } else { drainTime_ = value; } } else { drainTimeBuilder_.mergeFrom(value); } if (drainTime_ != null) { bitField0_ |= 0x00020000; onChanged(); } return this; } /** *
     * See :option:`--drain-time-s` for details.
     * 
* * .google.protobuf.Duration drain_time = 17; */ public Builder clearDrainTime() { bitField0_ = (bitField0_ & ~0x00020000); drainTime_ = null; if (drainTimeBuilder_ != null) { drainTimeBuilder_.dispose(); drainTimeBuilder_ = null; } onChanged(); return this; } /** *
     * See :option:`--drain-time-s` for details.
     * 
* * .google.protobuf.Duration drain_time = 17; */ public com.google.protobuf.Duration.Builder getDrainTimeBuilder() { bitField0_ |= 0x00020000; 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; * @return Whether the parentShutdownTime field is set. */ public boolean hasParentShutdownTime() { return ((bitField0_ & 0x00040000) != 0); } /** *
     * See :option:`--parent-shutdown-time-s` for details.
     * 
* * .google.protobuf.Duration parent_shutdown_time = 18; * @return The parentShutdownTime. */ 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; } else { parentShutdownTimeBuilder_.setMessage(value); } bitField0_ |= 0x00040000; onChanged(); 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(); } else { parentShutdownTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00040000; onChanged(); 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 (((bitField0_ & 0x00040000) != 0) && parentShutdownTime_ != null && parentShutdownTime_ != com.google.protobuf.Duration.getDefaultInstance()) { getParentShutdownTimeBuilder().mergeFrom(value); } else { parentShutdownTime_ = value; } } else { parentShutdownTimeBuilder_.mergeFrom(value); } if (parentShutdownTime_ != null) { bitField0_ |= 0x00040000; onChanged(); } return this; } /** *
     * See :option:`--parent-shutdown-time-s` for details.
     * 
* * .google.protobuf.Duration parent_shutdown_time = 18; */ public Builder clearParentShutdownTime() { bitField0_ = (bitField0_ & ~0x00040000); parentShutdownTime_ = null; if (parentShutdownTimeBuilder_ != null) { parentShutdownTimeBuilder_.dispose(); parentShutdownTimeBuilder_ = null; } onChanged(); return this; } /** *
     * See :option:`--parent-shutdown-time-s` for details.
     * 
* * .google.protobuf.Duration parent_shutdown_time = 18; */ public com.google.protobuf.Duration.Builder getParentShutdownTimeBuilder() { bitField0_ |= 0x00040000; 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; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** *
     * See :option:`--mode` for details.
     * 
* * .envoy.admin.v2alpha.CommandLineOptions.Mode mode = 19; * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { mode_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** *
     * See :option:`--mode` for details.
     * 
* * .envoy.admin.v2alpha.CommandLineOptions.Mode mode = 19; * @return The mode. */ @java.lang.Override public io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode getMode() { io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode result = io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode.forNumber(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; * @param value The mode to set. * @return This builder for chaining. */ public Builder setMode(io.envoyproxy.envoy.admin.v2alpha.CommandLineOptions.Mode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; mode_ = value.getNumber(); onChanged(); return this; } /** *
     * See :option:`--mode` for details.
     * 
* * .envoy.admin.v2alpha.CommandLineOptions.Mode mode = 19; * @return This builder for chaining. */ public Builder clearMode() { bitField0_ = (bitField0_ & ~0x00080000); 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, (.envoy.annotations.disallowed_by_default) = true]; * @deprecated envoy.admin.v2alpha.CommandLineOptions.max_stats is deprecated. * See envoy/admin/v2alpha/server_info.proto;l=135 * @return The maxStats. */ @java.lang.Override @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, (.envoy.annotations.disallowed_by_default) = true]; * @deprecated envoy.admin.v2alpha.CommandLineOptions.max_stats is deprecated. * See envoy/admin/v2alpha/server_info.proto;l=135 * @param value The maxStats to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setMaxStats(long value) { maxStats_ = value; bitField0_ |= 0x00100000; onChanged(); return this; } /** *
     * max_stats and max_obj_name_len are now unused and have no effect.
     * 
* * uint64 max_stats = 20 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; * @deprecated envoy.admin.v2alpha.CommandLineOptions.max_stats is deprecated. * See envoy/admin/v2alpha/server_info.proto;l=135 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearMaxStats() { bitField0_ = (bitField0_ & ~0x00100000); maxStats_ = 0L; onChanged(); return this; } private long maxObjNameLen_ ; /** * uint64 max_obj_name_len = 21 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; * @deprecated envoy.admin.v2alpha.CommandLineOptions.max_obj_name_len is deprecated. * See envoy/admin/v2alpha/server_info.proto;l=137 * @return The maxObjNameLen. */ @java.lang.Override @java.lang.Deprecated public long getMaxObjNameLen() { return maxObjNameLen_; } /** * uint64 max_obj_name_len = 21 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; * @deprecated envoy.admin.v2alpha.CommandLineOptions.max_obj_name_len is deprecated. * See envoy/admin/v2alpha/server_info.proto;l=137 * @param value The maxObjNameLen to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setMaxObjNameLen(long value) { maxObjNameLen_ = value; bitField0_ |= 0x00200000; onChanged(); return this; } /** * uint64 max_obj_name_len = 21 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; * @deprecated envoy.admin.v2alpha.CommandLineOptions.max_obj_name_len is deprecated. * See envoy/admin/v2alpha/server_info.proto;l=137 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearMaxObjNameLen() { bitField0_ = (bitField0_ & ~0x00200000); maxObjNameLen_ = 0L; onChanged(); return this; } private boolean disableHotRestart_ ; /** *
     * See :option:`--disable-hot-restart` for details.
     * 
* * bool disable_hot_restart = 22; * @return The disableHotRestart. */ @java.lang.Override public boolean getDisableHotRestart() { return disableHotRestart_; } /** *
     * See :option:`--disable-hot-restart` for details.
     * 
* * bool disable_hot_restart = 22; * @param value The disableHotRestart to set. * @return This builder for chaining. */ public Builder setDisableHotRestart(boolean value) { disableHotRestart_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } /** *
     * See :option:`--disable-hot-restart` for details.
     * 
* * bool disable_hot_restart = 22; * @return This builder for chaining. */ public Builder clearDisableHotRestart() { bitField0_ = (bitField0_ & ~0x00400000); disableHotRestart_ = false; onChanged(); return this; } private boolean enableMutexTracing_ ; /** *
     * See :option:`--enable-mutex-tracing` for details.
     * 
* * bool enable_mutex_tracing = 23; * @return The enableMutexTracing. */ @java.lang.Override public boolean getEnableMutexTracing() { return enableMutexTracing_; } /** *
     * See :option:`--enable-mutex-tracing` for details.
     * 
* * bool enable_mutex_tracing = 23; * @param value The enableMutexTracing to set. * @return This builder for chaining. */ public Builder setEnableMutexTracing(boolean value) { enableMutexTracing_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } /** *
     * See :option:`--enable-mutex-tracing` for details.
     * 
* * bool enable_mutex_tracing = 23; * @return This builder for chaining. */ public Builder clearEnableMutexTracing() { bitField0_ = (bitField0_ & ~0x00800000); enableMutexTracing_ = false; onChanged(); return this; } private int restartEpoch_ ; /** *
     * See :option:`--restart-epoch` for details.
     * 
* * uint32 restart_epoch = 24; * @return The restartEpoch. */ @java.lang.Override public int getRestartEpoch() { return restartEpoch_; } /** *
     * See :option:`--restart-epoch` for details.
     * 
* * uint32 restart_epoch = 24; * @param value The restartEpoch to set. * @return This builder for chaining. */ public Builder setRestartEpoch(int value) { restartEpoch_ = value; bitField0_ |= 0x01000000; onChanged(); return this; } /** *
     * See :option:`--restart-epoch` for details.
     * 
* * uint32 restart_epoch = 24; * @return This builder for chaining. */ public Builder clearRestartEpoch() { bitField0_ = (bitField0_ & ~0x01000000); restartEpoch_ = 0; onChanged(); return this; } private boolean cpusetThreads_ ; /** *
     * See :option:`--cpuset-threads` for details.
     * 
* * bool cpuset_threads = 25; * @return The cpusetThreads. */ @java.lang.Override public boolean getCpusetThreads() { return cpusetThreads_; } /** *
     * See :option:`--cpuset-threads` for details.
     * 
* * bool cpuset_threads = 25; * @param value The cpusetThreads to set. * @return This builder for chaining. */ public Builder setCpusetThreads(boolean value) { cpusetThreads_ = value; bitField0_ |= 0x02000000; onChanged(); return this; } /** *
     * See :option:`--cpuset-threads` for details.
     * 
* * bool cpuset_threads = 25; * @return This builder for chaining. */ public Builder clearCpusetThreads() { bitField0_ = (bitField0_ & ~0x02000000); cpusetThreads_ = false; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList disabledExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureDisabledExtensionsIsMutable() { if (!disabledExtensions_.isModifiable()) { disabledExtensions_ = new com.google.protobuf.LazyStringArrayList(disabledExtensions_); } bitField0_ |= 0x04000000; } /** *
     * See :option:`--disable-extensions` for details.
     * 
* * repeated string disabled_extensions = 28; * @return A list containing the disabledExtensions. */ public com.google.protobuf.ProtocolStringList getDisabledExtensionsList() { disabledExtensions_.makeImmutable(); return disabledExtensions_; } /** *
     * See :option:`--disable-extensions` for details.
     * 
* * repeated string disabled_extensions = 28; * @return The count of disabledExtensions. */ public int getDisabledExtensionsCount() { return disabledExtensions_.size(); } /** *
     * See :option:`--disable-extensions` for details.
     * 
* * repeated string disabled_extensions = 28; * @param index The index of the element to return. * @return The disabledExtensions at the given index. */ public java.lang.String getDisabledExtensions(int index) { return disabledExtensions_.get(index); } /** *
     * See :option:`--disable-extensions` for details.
     * 
* * repeated string disabled_extensions = 28; * @param index The index of the value to return. * @return The bytes of the disabledExtensions at the given index. */ public com.google.protobuf.ByteString getDisabledExtensionsBytes(int index) { return disabledExtensions_.getByteString(index); } /** *
     * See :option:`--disable-extensions` for details.
     * 
* * repeated string disabled_extensions = 28; * @param index The index to set the value at. * @param value The disabledExtensions to set. * @return This builder for chaining. */ public Builder setDisabledExtensions( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDisabledExtensionsIsMutable(); disabledExtensions_.set(index, value); bitField0_ |= 0x04000000; onChanged(); return this; } /** *
     * See :option:`--disable-extensions` for details.
     * 
* * repeated string disabled_extensions = 28; * @param value The disabledExtensions to add. * @return This builder for chaining. */ public Builder addDisabledExtensions( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDisabledExtensionsIsMutable(); disabledExtensions_.add(value); bitField0_ |= 0x04000000; onChanged(); return this; } /** *
     * See :option:`--disable-extensions` for details.
     * 
* * repeated string disabled_extensions = 28; * @param values The disabledExtensions to add. * @return This builder for chaining. */ public Builder addAllDisabledExtensions( java.lang.Iterable values) { ensureDisabledExtensionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, disabledExtensions_); bitField0_ |= 0x04000000; onChanged(); return this; } /** *
     * See :option:`--disable-extensions` for details.
     * 
* * repeated string disabled_extensions = 28; * @return This builder for chaining. */ public Builder clearDisabledExtensions() { disabledExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x04000000);; onChanged(); return this; } /** *
     * See :option:`--disable-extensions` for details.
     * 
* * repeated string disabled_extensions = 28; * @param value The bytes of the disabledExtensions to add. * @return This builder for chaining. */ public Builder addDisabledExtensionsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDisabledExtensionsIsMutable(); disabledExtensions_.add(value); bitField0_ |= 0x04000000; 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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; 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; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy