Class Admin.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AdminOrBuilder, Cloneable
    Enclosing class:
    Admin

    public static final class Admin.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Admin.Builder>
    implements AdminOrBuilder
     Administration interface :ref:`operations documentation
     <operations_admin_interface>`.
     
    Protobuf type envoy.config.bootstrap.v2.Admin
    • Method Detail

      • 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.Builder<Admin.Builder>
      • clear

        public Admin.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Admin.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Admin.Builder>
      • getDefaultInstanceForType

        public Admin getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Admin build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Admin buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Admin.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Admin.Builder>
      • setField

        public Admin.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                      Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Admin.Builder>
      • clearField

        public Admin.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Admin.Builder>
      • clearOneof

        public Admin.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Admin.Builder>
      • setRepeatedField

        public Admin.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              int index,
                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Admin.Builder>
      • addRepeatedField

        public Admin.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Admin.Builder>
      • mergeFrom

        public Admin.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Admin.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Admin.Builder>
      • mergeFrom

        public Admin.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Admin.Builder>
        Throws:
        IOException
      • getAccessLogPath

        public String getAccessLogPath()
         The path to write the access log for the administration server. If no
         access log is desired specify ‘/dev/null’. This is only required if
         :ref:`address <envoy_api_field_config.bootstrap.v2.Admin.address>` is set.
         
        string access_log_path = 1;
        Specified by:
        getAccessLogPath in interface AdminOrBuilder
        Returns:
        The accessLogPath.
      • getAccessLogPathBytes

        public com.google.protobuf.ByteString getAccessLogPathBytes()
         The path to write the access log for the administration server. If no
         access log is desired specify ‘/dev/null’. This is only required if
         :ref:`address <envoy_api_field_config.bootstrap.v2.Admin.address>` is set.
         
        string access_log_path = 1;
        Specified by:
        getAccessLogPathBytes in interface AdminOrBuilder
        Returns:
        The bytes for accessLogPath.
      • setAccessLogPath

        public Admin.Builder setAccessLogPath​(String value)
         The path to write the access log for the administration server. If no
         access log is desired specify ‘/dev/null’. This is only required if
         :ref:`address <envoy_api_field_config.bootstrap.v2.Admin.address>` is set.
         
        string access_log_path = 1;
        Parameters:
        value - The accessLogPath to set.
        Returns:
        This builder for chaining.
      • clearAccessLogPath

        public Admin.Builder clearAccessLogPath()
         The path to write the access log for the administration server. If no
         access log is desired specify ‘/dev/null’. This is only required if
         :ref:`address <envoy_api_field_config.bootstrap.v2.Admin.address>` is set.
         
        string access_log_path = 1;
        Returns:
        This builder for chaining.
      • setAccessLogPathBytes

        public Admin.Builder setAccessLogPathBytes​(com.google.protobuf.ByteString value)
         The path to write the access log for the administration server. If no
         access log is desired specify ‘/dev/null’. This is only required if
         :ref:`address <envoy_api_field_config.bootstrap.v2.Admin.address>` is set.
         
        string access_log_path = 1;
        Parameters:
        value - The bytes for accessLogPath to set.
        Returns:
        This builder for chaining.
      • getProfilePath

        public String getProfilePath()
         The cpu profiler output path for the administration server. If no profile
         path is specified, the default is ‘/var/log/envoy/envoy.prof’.
         
        string profile_path = 2;
        Specified by:
        getProfilePath in interface AdminOrBuilder
        Returns:
        The profilePath.
      • getProfilePathBytes

        public com.google.protobuf.ByteString getProfilePathBytes()
         The cpu profiler output path for the administration server. If no profile
         path is specified, the default is ‘/var/log/envoy/envoy.prof’.
         
        string profile_path = 2;
        Specified by:
        getProfilePathBytes in interface AdminOrBuilder
        Returns:
        The bytes for profilePath.
      • setProfilePath

        public Admin.Builder setProfilePath​(String value)
         The cpu profiler output path for the administration server. If no profile
         path is specified, the default is ‘/var/log/envoy/envoy.prof’.
         
        string profile_path = 2;
        Parameters:
        value - The profilePath to set.
        Returns:
        This builder for chaining.
      • clearProfilePath

        public Admin.Builder clearProfilePath()
         The cpu profiler output path for the administration server. If no profile
         path is specified, the default is ‘/var/log/envoy/envoy.prof’.
         
        string profile_path = 2;
        Returns:
        This builder for chaining.
      • setProfilePathBytes

        public Admin.Builder setProfilePathBytes​(com.google.protobuf.ByteString value)
         The cpu profiler output path for the administration server. If no profile
         path is specified, the default is ‘/var/log/envoy/envoy.prof’.
         
        string profile_path = 2;
        Parameters:
        value - The bytes for profilePath to set.
        Returns:
        This builder for chaining.
      • hasAddress

        public boolean hasAddress()
         The TCP address that the administration server will listen on.
         If not specified, Envoy will not start an administration server.
         
        .envoy.api.v2.core.Address address = 3;
        Specified by:
        hasAddress in interface AdminOrBuilder
        Returns:
        Whether the address field is set.
      • getAddress

        public Address getAddress()
         The TCP address that the administration server will listen on.
         If not specified, Envoy will not start an administration server.
         
        .envoy.api.v2.core.Address address = 3;
        Specified by:
        getAddress in interface AdminOrBuilder
        Returns:
        The address.
      • setAddress

        public Admin.Builder setAddress​(Address value)
         The TCP address that the administration server will listen on.
         If not specified, Envoy will not start an administration server.
         
        .envoy.api.v2.core.Address address = 3;
      • setAddress

        public Admin.Builder setAddress​(Address.Builder builderForValue)
         The TCP address that the administration server will listen on.
         If not specified, Envoy will not start an administration server.
         
        .envoy.api.v2.core.Address address = 3;
      • mergeAddress

        public Admin.Builder mergeAddress​(Address value)
         The TCP address that the administration server will listen on.
         If not specified, Envoy will not start an administration server.
         
        .envoy.api.v2.core.Address address = 3;
      • clearAddress

        public Admin.Builder clearAddress()
         The TCP address that the administration server will listen on.
         If not specified, Envoy will not start an administration server.
         
        .envoy.api.v2.core.Address address = 3;
      • getAddressBuilder

        public Address.Builder getAddressBuilder()
         The TCP address that the administration server will listen on.
         If not specified, Envoy will not start an administration server.
         
        .envoy.api.v2.core.Address address = 3;
      • getAddressOrBuilder

        public AddressOrBuilder getAddressOrBuilder()
         The TCP address that the administration server will listen on.
         If not specified, Envoy will not start an administration server.
         
        .envoy.api.v2.core.Address address = 3;
        Specified by:
        getAddressOrBuilder in interface AdminOrBuilder
      • getSocketOptionsList

        public List<SocketOption> getSocketOptionsList()
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
        Specified by:
        getSocketOptionsList in interface AdminOrBuilder
      • getSocketOptionsCount

        public int getSocketOptionsCount()
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
        Specified by:
        getSocketOptionsCount in interface AdminOrBuilder
      • getSocketOptions

        public SocketOption getSocketOptions​(int index)
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
        Specified by:
        getSocketOptions in interface AdminOrBuilder
      • setSocketOptions

        public Admin.Builder setSocketOptions​(int index,
                                              SocketOption value)
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
      • setSocketOptions

        public Admin.Builder setSocketOptions​(int index,
                                              SocketOption.Builder builderForValue)
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
      • addSocketOptions

        public Admin.Builder addSocketOptions​(SocketOption value)
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
      • addSocketOptions

        public Admin.Builder addSocketOptions​(int index,
                                              SocketOption value)
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
      • addSocketOptions

        public Admin.Builder addSocketOptions​(SocketOption.Builder builderForValue)
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
      • addSocketOptions

        public Admin.Builder addSocketOptions​(int index,
                                              SocketOption.Builder builderForValue)
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
      • addAllSocketOptions

        public Admin.Builder addAllSocketOptions​(Iterable<? extends SocketOption> values)
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
      • clearSocketOptions

        public Admin.Builder clearSocketOptions()
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
      • removeSocketOptions

        public Admin.Builder removeSocketOptions​(int index)
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
      • getSocketOptionsBuilder

        public SocketOption.Builder getSocketOptionsBuilder​(int index)
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
      • getSocketOptionsOrBuilder

        public SocketOptionOrBuilder getSocketOptionsOrBuilder​(int index)
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
        Specified by:
        getSocketOptionsOrBuilder in interface AdminOrBuilder
      • getSocketOptionsOrBuilderList

        public List<? extends SocketOptionOrBuilder> getSocketOptionsOrBuilderList()
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
        Specified by:
        getSocketOptionsOrBuilderList in interface AdminOrBuilder
      • addSocketOptionsBuilder

        public SocketOption.Builder addSocketOptionsBuilder()
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
      • addSocketOptionsBuilder

        public SocketOption.Builder addSocketOptionsBuilder​(int index)
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
      • getSocketOptionsBuilderList

        public List<SocketOption.Builder> getSocketOptionsBuilderList()
         Additional socket options that may not be present in Envoy source code or
         precompiled binaries.
         
        repeated .envoy.api.v2.core.SocketOption socket_options = 4;
      • setUnknownFields

        public final Admin.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Admin.Builder>
      • mergeUnknownFields

        public final Admin.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Admin.Builder>