Class CommandLineOptions

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CommandLineOptionsOrBuilder, Serializable

    public final class CommandLineOptions
    extends com.google.protobuf.GeneratedMessageV3
    implements CommandLineOptionsOrBuilder
     [#next-free-field: 29]
     
    Protobuf type envoy.admin.v2alpha.CommandLineOptions
    See Also:
    Serialized Form
    • Field Detail

      • CONCURRENCY_FIELD_NUMBER

        public static final int CONCURRENCY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONFIG_PATH_FIELD_NUMBER

        public static final int CONFIG_PATH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONFIG_YAML_FIELD_NUMBER

        public static final int CONFIG_YAML_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ALLOW_UNKNOWN_STATIC_FIELDS_FIELD_NUMBER

        public static final int ALLOW_UNKNOWN_STATIC_FIELDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • REJECT_UNKNOWN_DYNAMIC_FIELDS_FIELD_NUMBER

        public static final int REJECT_UNKNOWN_DYNAMIC_FIELDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ADMIN_ADDRESS_PATH_FIELD_NUMBER

        public static final int ADMIN_ADDRESS_PATH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOCAL_ADDRESS_IP_VERSION_FIELD_NUMBER

        public static final int LOCAL_ADDRESS_IP_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COMPONENT_LOG_LEVEL_FIELD_NUMBER

        public static final int COMPONENT_LOG_LEVEL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOG_FORMAT_FIELD_NUMBER

        public static final int LOG_FORMAT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOG_FORMAT_ESCAPED_FIELD_NUMBER

        public static final int LOG_FORMAT_ESCAPED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICE_CLUSTER_FIELD_NUMBER

        public static final int SERVICE_CLUSTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICE_NODE_FIELD_NUMBER

        public static final int SERVICE_NODE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICE_ZONE_FIELD_NUMBER

        public static final int SERVICE_ZONE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FILE_FLUSH_INTERVAL_FIELD_NUMBER

        public static final int FILE_FLUSH_INTERVAL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DRAIN_TIME_FIELD_NUMBER

        public static final int DRAIN_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARENT_SHUTDOWN_TIME_FIELD_NUMBER

        public static final int PARENT_SHUTDOWN_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAX_OBJ_NAME_LEN_FIELD_NUMBER

        public static final int MAX_OBJ_NAME_LEN_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DISABLE_HOT_RESTART_FIELD_NUMBER

        public static final int DISABLE_HOT_RESTART_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENABLE_MUTEX_TRACING_FIELD_NUMBER

        public static final int ENABLE_MUTEX_TRACING_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESTART_EPOCH_FIELD_NUMBER

        public static final int RESTART_EPOCH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CPUSET_THREADS_FIELD_NUMBER

        public static final int CPUSET_THREADS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DISABLED_EXTENSIONS_FIELD_NUMBER

        public static final int DISABLED_EXTENSIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getBaseId

        public long getBaseId()
         See :option:`--base-id` for details.
         
        uint64 base_id = 1;
        Specified by:
        getBaseId in interface CommandLineOptionsOrBuilder
        Returns:
        The baseId.
      • getConcurrency

        public int getConcurrency()
         See :option:`--concurrency` for details.
         
        uint32 concurrency = 2;
        Specified by:
        getConcurrency in interface CommandLineOptionsOrBuilder
        Returns:
        The concurrency.
      • getConfigPathBytes

        public com.google.protobuf.ByteString getConfigPathBytes()
         See :option:`--config-path` for details.
         
        string config_path = 3;
        Specified by:
        getConfigPathBytes in interface CommandLineOptionsOrBuilder
        Returns:
        The bytes for configPath.
      • getConfigYamlBytes

        public com.google.protobuf.ByteString getConfigYamlBytes()
         See :option:`--config-yaml` for details.
         
        string config_yaml = 4;
        Specified by:
        getConfigYamlBytes in interface CommandLineOptionsOrBuilder
        Returns:
        The bytes for configYaml.
      • getAllowUnknownStaticFields

        public boolean getAllowUnknownStaticFields()
         See :option:`--allow-unknown-static-fields` for details.
         
        bool allow_unknown_static_fields = 5;
        Specified by:
        getAllowUnknownStaticFields in interface CommandLineOptionsOrBuilder
        Returns:
        The allowUnknownStaticFields.
      • getRejectUnknownDynamicFields

        public boolean getRejectUnknownDynamicFields()
         See :option:`--reject-unknown-dynamic-fields` for details.
         
        bool reject_unknown_dynamic_fields = 26;
        Specified by:
        getRejectUnknownDynamicFields in interface CommandLineOptionsOrBuilder
        Returns:
        The rejectUnknownDynamicFields.
      • getAdminAddressPathBytes

        public com.google.protobuf.ByteString getAdminAddressPathBytes()
         See :option:`--admin-address-path` for details.
         
        string admin_address_path = 6;
        Specified by:
        getAdminAddressPathBytes in interface CommandLineOptionsOrBuilder
        Returns:
        The bytes for adminAddressPath.
      • getLocalAddressIpVersionValue

        public int getLocalAddressIpVersionValue()
         See :option:`--local-address-ip-version` for details.
         
        .envoy.admin.v2alpha.CommandLineOptions.IpVersion local_address_ip_version = 7;
        Specified by:
        getLocalAddressIpVersionValue in interface CommandLineOptionsOrBuilder
        Returns:
        The enum numeric value on the wire for localAddressIpVersion.
      • getLogLevelBytes

        public com.google.protobuf.ByteString getLogLevelBytes()
         See :option:`--log-level` for details.
         
        string log_level = 8;
        Specified by:
        getLogLevelBytes in interface CommandLineOptionsOrBuilder
        Returns:
        The bytes for logLevel.
      • getComponentLogLevelBytes

        public com.google.protobuf.ByteString getComponentLogLevelBytes()
         See :option:`--component-log-level` for details.
         
        string component_log_level = 9;
        Specified by:
        getComponentLogLevelBytes in interface CommandLineOptionsOrBuilder
        Returns:
        The bytes for componentLogLevel.
      • getLogFormatBytes

        public com.google.protobuf.ByteString getLogFormatBytes()
         See :option:`--log-format` for details.
         
        string log_format = 10;
        Specified by:
        getLogFormatBytes in interface CommandLineOptionsOrBuilder
        Returns:
        The bytes for logFormat.
      • getLogFormatEscaped

        public boolean getLogFormatEscaped()
         See :option:`--log-format-escaped` for details.
         
        bool log_format_escaped = 27;
        Specified by:
        getLogFormatEscaped in interface CommandLineOptionsOrBuilder
        Returns:
        The logFormatEscaped.
      • getLogPathBytes

        public com.google.protobuf.ByteString getLogPathBytes()
         See :option:`--log-path` for details.
         
        string log_path = 11;
        Specified by:
        getLogPathBytes in interface CommandLineOptionsOrBuilder
        Returns:
        The bytes for logPath.
      • getServiceClusterBytes

        public com.google.protobuf.ByteString getServiceClusterBytes()
         See :option:`--service-cluster` for details.
         
        string service_cluster = 13;
        Specified by:
        getServiceClusterBytes in interface CommandLineOptionsOrBuilder
        Returns:
        The bytes for serviceCluster.
      • getServiceNodeBytes

        public com.google.protobuf.ByteString getServiceNodeBytes()
         See :option:`--service-node` for details.
         
        string service_node = 14;
        Specified by:
        getServiceNodeBytes in interface CommandLineOptionsOrBuilder
        Returns:
        The bytes for serviceNode.
      • getServiceZoneBytes

        public com.google.protobuf.ByteString getServiceZoneBytes()
         See :option:`--service-zone` for details.
         
        string service_zone = 15;
        Specified by:
        getServiceZoneBytes in interface CommandLineOptionsOrBuilder
        Returns:
        The bytes for serviceZone.
      • hasFileFlushInterval

        public boolean hasFileFlushInterval()
         See :option:`--file-flush-interval-msec` for details.
         
        .google.protobuf.Duration file_flush_interval = 16;
        Specified by:
        hasFileFlushInterval in interface CommandLineOptionsOrBuilder
        Returns:
        Whether the fileFlushInterval field is set.
      • getFileFlushInterval

        public com.google.protobuf.Duration getFileFlushInterval()
         See :option:`--file-flush-interval-msec` for details.
         
        .google.protobuf.Duration file_flush_interval = 16;
        Specified by:
        getFileFlushInterval in interface CommandLineOptionsOrBuilder
        Returns:
        The fileFlushInterval.
      • getFileFlushIntervalOrBuilder

        public com.google.protobuf.DurationOrBuilder getFileFlushIntervalOrBuilder()
         See :option:`--file-flush-interval-msec` for details.
         
        .google.protobuf.Duration file_flush_interval = 16;
        Specified by:
        getFileFlushIntervalOrBuilder in interface CommandLineOptionsOrBuilder
      • hasDrainTime

        public boolean hasDrainTime()
         See :option:`--drain-time-s` for details.
         
        .google.protobuf.Duration drain_time = 17;
        Specified by:
        hasDrainTime in interface CommandLineOptionsOrBuilder
        Returns:
        Whether the drainTime field is set.
      • getDrainTime

        public com.google.protobuf.Duration getDrainTime()
         See :option:`--drain-time-s` for details.
         
        .google.protobuf.Duration drain_time = 17;
        Specified by:
        getDrainTime in interface CommandLineOptionsOrBuilder
        Returns:
        The drainTime.
      • getDrainTimeOrBuilder

        public com.google.protobuf.DurationOrBuilder getDrainTimeOrBuilder()
         See :option:`--drain-time-s` for details.
         
        .google.protobuf.Duration drain_time = 17;
        Specified by:
        getDrainTimeOrBuilder in interface CommandLineOptionsOrBuilder
      • hasParentShutdownTime

        public boolean hasParentShutdownTime()
         See :option:`--parent-shutdown-time-s` for details.
         
        .google.protobuf.Duration parent_shutdown_time = 18;
        Specified by:
        hasParentShutdownTime in interface CommandLineOptionsOrBuilder
        Returns:
        Whether the parentShutdownTime field is set.
      • getParentShutdownTime

        public com.google.protobuf.Duration getParentShutdownTime()
         See :option:`--parent-shutdown-time-s` for details.
         
        .google.protobuf.Duration parent_shutdown_time = 18;
        Specified by:
        getParentShutdownTime in interface CommandLineOptionsOrBuilder
        Returns:
        The parentShutdownTime.
      • getParentShutdownTimeOrBuilder

        public com.google.protobuf.DurationOrBuilder getParentShutdownTimeOrBuilder()
         See :option:`--parent-shutdown-time-s` for details.
         
        .google.protobuf.Duration parent_shutdown_time = 18;
        Specified by:
        getParentShutdownTimeOrBuilder in interface CommandLineOptionsOrBuilder
      • getModeValue

        public int getModeValue()
         See :option:`--mode` for details.
         
        .envoy.admin.v2alpha.CommandLineOptions.Mode mode = 19;
        Specified by:
        getModeValue in interface CommandLineOptionsOrBuilder
        Returns:
        The enum numeric value on the wire for mode.
      • getMaxStats

        @Deprecated
        public long getMaxStats()
        Deprecated.
        envoy.admin.v2alpha.CommandLineOptions.max_stats is deprecated. See envoy/admin/v2alpha/server_info.proto;l=135
         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];
        Specified by:
        getMaxStats in interface CommandLineOptionsOrBuilder
        Returns:
        The maxStats.
      • getMaxObjNameLen

        @Deprecated
        public long getMaxObjNameLen()
        Deprecated.
        envoy.admin.v2alpha.CommandLineOptions.max_obj_name_len is deprecated. See envoy/admin/v2alpha/server_info.proto;l=137
        uint64 max_obj_name_len = 21 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];
        Specified by:
        getMaxObjNameLen in interface CommandLineOptionsOrBuilder
        Returns:
        The maxObjNameLen.
      • getDisableHotRestart

        public boolean getDisableHotRestart()
         See :option:`--disable-hot-restart` for details.
         
        bool disable_hot_restart = 22;
        Specified by:
        getDisableHotRestart in interface CommandLineOptionsOrBuilder
        Returns:
        The disableHotRestart.
      • getEnableMutexTracing

        public boolean getEnableMutexTracing()
         See :option:`--enable-mutex-tracing` for details.
         
        bool enable_mutex_tracing = 23;
        Specified by:
        getEnableMutexTracing in interface CommandLineOptionsOrBuilder
        Returns:
        The enableMutexTracing.
      • getRestartEpoch

        public int getRestartEpoch()
         See :option:`--restart-epoch` for details.
         
        uint32 restart_epoch = 24;
        Specified by:
        getRestartEpoch in interface CommandLineOptionsOrBuilder
        Returns:
        The restartEpoch.
      • getCpusetThreads

        public boolean getCpusetThreads()
         See :option:`--cpuset-threads` for details.
         
        bool cpuset_threads = 25;
        Specified by:
        getCpusetThreads in interface CommandLineOptionsOrBuilder
        Returns:
        The cpusetThreads.
      • getDisabledExtensionsList

        public com.google.protobuf.ProtocolStringList getDisabledExtensionsList()
         See :option:`--disable-extensions` for details.
         
        repeated string disabled_extensions = 28;
        Specified by:
        getDisabledExtensionsList in interface CommandLineOptionsOrBuilder
        Returns:
        A list containing the disabledExtensions.
      • getDisabledExtensionsCount

        public int getDisabledExtensionsCount()
         See :option:`--disable-extensions` for details.
         
        repeated string disabled_extensions = 28;
        Specified by:
        getDisabledExtensionsCount in interface CommandLineOptionsOrBuilder
        Returns:
        The count of disabledExtensions.
      • getDisabledExtensions

        public String getDisabledExtensions​(int index)
         See :option:`--disable-extensions` for details.
         
        repeated string disabled_extensions = 28;
        Specified by:
        getDisabledExtensions in interface CommandLineOptionsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The disabledExtensions at the given index.
      • getDisabledExtensionsBytes

        public com.google.protobuf.ByteString getDisabledExtensionsBytes​(int index)
         See :option:`--disable-extensions` for details.
         
        repeated string disabled_extensions = 28;
        Specified by:
        getDisabledExtensionsBytes in interface CommandLineOptionsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the disabledExtensions at the given index.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static CommandLineOptions parseFrom​(ByteBuffer data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommandLineOptions parseFrom​(ByteBuffer data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommandLineOptions parseFrom​(com.google.protobuf.ByteString data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommandLineOptions parseFrom​(com.google.protobuf.ByteString data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommandLineOptions parseFrom​(byte[] data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommandLineOptions parseFrom​(byte[] data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommandLineOptions parseFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Throws:
        IOException
      • newBuilderForType

        public CommandLineOptions.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public CommandLineOptions.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected CommandLineOptions.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<CommandLineOptions> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public CommandLineOptions getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder