Class Endpoint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
-
- io.envoyproxy.envoy.config.endpoint.v3.Endpoint.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EndpointOrBuilder,java.lang.Cloneable
- Enclosing class:
- Endpoint
public static final class Endpoint.Builder extends com.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder> implements EndpointOrBuilder
Upstream host identifier.
Protobuf typeenvoy.config.endpoint.v3.Endpoint
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<Endpoint.AdditionalAddress>additionalAddresses_private com.google.protobuf.RepeatedFieldBuilder<Endpoint.AdditionalAddress,Endpoint.AdditionalAddress.Builder,Endpoint.AdditionalAddressOrBuilder>additionalAddressesBuilder_private Addressaddress_private com.google.protobuf.SingleFieldBuilder<Address,Address.Builder,AddressOrBuilder>addressBuilder_private intbitField0_private Endpoint.HealthCheckConfighealthCheckConfig_private com.google.protobuf.SingleFieldBuilder<Endpoint.HealthCheckConfig,Endpoint.HealthCheckConfig.Builder,Endpoint.HealthCheckConfigOrBuilder>healthCheckConfigBuilder_private java.lang.Objecthostname_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Endpoint.BuilderaddAdditionalAddresses(int index, Endpoint.AdditionalAddress value)An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.BuilderaddAdditionalAddresses(int index, Endpoint.AdditionalAddress.Builder builderForValue)An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.BuilderaddAdditionalAddresses(Endpoint.AdditionalAddress value)An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.BuilderaddAdditionalAddresses(Endpoint.AdditionalAddress.Builder builderForValue)An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.AdditionalAddress.BuilderaddAdditionalAddressesBuilder()An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.AdditionalAddress.BuilderaddAdditionalAddressesBuilder(int index)An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.BuilderaddAllAdditionalAddresses(java.lang.Iterable<? extends Endpoint.AdditionalAddress> values)An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpointbuild()EndpointbuildPartial()private voidbuildPartial0(Endpoint result)private voidbuildPartialRepeatedFields(Endpoint result)Endpoint.Builderclear()Endpoint.BuilderclearAdditionalAddresses()An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.BuilderclearAddress()The upstream host address.Endpoint.BuilderclearHealthCheckConfig()The optional health check configuration is used as configuration for the health checker to contact the health checked host.Endpoint.BuilderclearHostname()The hostname associated with this endpoint.private voidensureAdditionalAddressesIsMutable()Endpoint.AdditionalAddressgetAdditionalAddresses(int index)An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.AdditionalAddress.BuildergetAdditionalAddressesBuilder(int index)An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.java.util.List<Endpoint.AdditionalAddress.Builder>getAdditionalAddressesBuilderList()An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.intgetAdditionalAddressesCount()An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.private com.google.protobuf.RepeatedFieldBuilder<Endpoint.AdditionalAddress,Endpoint.AdditionalAddress.Builder,Endpoint.AdditionalAddressOrBuilder>getAdditionalAddressesFieldBuilder()java.util.List<Endpoint.AdditionalAddress>getAdditionalAddressesList()An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.AdditionalAddressOrBuildergetAdditionalAddressesOrBuilder(int index)An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.java.util.List<? extends Endpoint.AdditionalAddressOrBuilder>getAdditionalAddressesOrBuilderList()An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.AddressgetAddress()The upstream host address.Address.BuildergetAddressBuilder()The upstream host address.private com.google.protobuf.SingleFieldBuilder<Address,Address.Builder,AddressOrBuilder>getAddressFieldBuilder()The upstream host address.AddressOrBuildergetAddressOrBuilder()The upstream host address.EndpointgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Endpoint.HealthCheckConfiggetHealthCheckConfig()The optional health check configuration is used as configuration for the health checker to contact the health checked host.Endpoint.HealthCheckConfig.BuildergetHealthCheckConfigBuilder()The optional health check configuration is used as configuration for the health checker to contact the health checked host.private com.google.protobuf.SingleFieldBuilder<Endpoint.HealthCheckConfig,Endpoint.HealthCheckConfig.Builder,Endpoint.HealthCheckConfigOrBuilder>getHealthCheckConfigFieldBuilder()The optional health check configuration is used as configuration for the health checker to contact the health checked host.Endpoint.HealthCheckConfigOrBuildergetHealthCheckConfigOrBuilder()The optional health check configuration is used as configuration for the health checker to contact the health checked host.java.lang.StringgetHostname()The hostname associated with this endpoint.com.google.protobuf.ByteStringgetHostnameBytes()The hostname associated with this endpoint.booleanhasAddress()The upstream host address.booleanhasHealthCheckConfig()The optional health check configuration is used as configuration for the health checker to contact the health checked host.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()Endpoint.BuildermergeAddress(Address value)The upstream host address.Endpoint.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Endpoint.BuildermergeFrom(com.google.protobuf.Message other)Endpoint.BuildermergeFrom(Endpoint other)Endpoint.BuildermergeHealthCheckConfig(Endpoint.HealthCheckConfig value)The optional health check configuration is used as configuration for the health checker to contact the health checked host.Endpoint.BuilderremoveAdditionalAddresses(int index)An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.BuildersetAdditionalAddresses(int index, Endpoint.AdditionalAddress value)An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.BuildersetAdditionalAddresses(int index, Endpoint.AdditionalAddress.Builder builderForValue)An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.BuildersetAddress(Address value)The upstream host address.Endpoint.BuildersetAddress(Address.Builder builderForValue)The upstream host address.Endpoint.BuildersetHealthCheckConfig(Endpoint.HealthCheckConfig value)The optional health check configuration is used as configuration for the health checker to contact the health checked host.Endpoint.BuildersetHealthCheckConfig(Endpoint.HealthCheckConfig.Builder builderForValue)The optional health check configuration is used as configuration for the health checker to contact the health checked host.Endpoint.BuildersetHostname(java.lang.String value)The hostname associated with this endpoint.Endpoint.BuildersetHostnameBytes(com.google.protobuf.ByteString value)The hostname associated with this endpoint.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
address_
private Address address_
-
addressBuilder_
private com.google.protobuf.SingleFieldBuilder<Address,Address.Builder,AddressOrBuilder> addressBuilder_
-
healthCheckConfig_
private Endpoint.HealthCheckConfig healthCheckConfig_
-
healthCheckConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<Endpoint.HealthCheckConfig,Endpoint.HealthCheckConfig.Builder,Endpoint.HealthCheckConfigOrBuilder> healthCheckConfigBuilder_
-
hostname_
private java.lang.Object hostname_
-
additionalAddresses_
private java.util.List<Endpoint.AdditionalAddress> additionalAddresses_
-
additionalAddressesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<Endpoint.AdditionalAddress,Endpoint.AdditionalAddress.Builder,Endpoint.AdditionalAddressOrBuilder> additionalAddressesBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public Endpoint.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
-
getDefaultInstanceForType
public Endpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Endpoint build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Endpoint buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(Endpoint result)
-
buildPartial0
private void buildPartial0(Endpoint result)
-
mergeFrom
public Endpoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(Endpoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>- Throws:
java.io.IOException
-
hasAddress
public boolean hasAddress()
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_v3_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;- Specified by:
hasAddressin interfaceEndpointOrBuilder- Returns:
- Whether the address field is set.
-
getAddress
public Address getAddress()
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_v3_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;- Specified by:
getAddressin interfaceEndpointOrBuilder- Returns:
- The address.
-
setAddress
public Endpoint.Builder setAddress(Address value)
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_v3_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;
-
setAddress
public Endpoint.Builder setAddress(Address.Builder builderForValue)
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_v3_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;
-
mergeAddress
public Endpoint.Builder mergeAddress(Address value)
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_v3_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;
-
clearAddress
public Endpoint.Builder clearAddress()
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_v3_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;
-
getAddressBuilder
public Address.Builder getAddressBuilder()
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_v3_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;
-
getAddressOrBuilder
public AddressOrBuilder getAddressOrBuilder()
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_v3_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;- Specified by:
getAddressOrBuilderin interfaceEndpointOrBuilder
-
getAddressFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Address,Address.Builder,AddressOrBuilder> getAddressFieldBuilder()
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_v3_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;
-
hasHealthCheckConfig
public boolean hasHealthCheckConfig()
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;- Specified by:
hasHealthCheckConfigin interfaceEndpointOrBuilder- Returns:
- Whether the healthCheckConfig field is set.
-
getHealthCheckConfig
public Endpoint.HealthCheckConfig getHealthCheckConfig()
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;- Specified by:
getHealthCheckConfigin interfaceEndpointOrBuilder- Returns:
- The healthCheckConfig.
-
setHealthCheckConfig
public Endpoint.Builder setHealthCheckConfig(Endpoint.HealthCheckConfig value)
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;
-
setHealthCheckConfig
public Endpoint.Builder setHealthCheckConfig(Endpoint.HealthCheckConfig.Builder builderForValue)
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;
-
mergeHealthCheckConfig
public Endpoint.Builder mergeHealthCheckConfig(Endpoint.HealthCheckConfig value)
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;
-
clearHealthCheckConfig
public Endpoint.Builder clearHealthCheckConfig()
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;
-
getHealthCheckConfigBuilder
public Endpoint.HealthCheckConfig.Builder getHealthCheckConfigBuilder()
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;
-
getHealthCheckConfigOrBuilder
public Endpoint.HealthCheckConfigOrBuilder getHealthCheckConfigOrBuilder()
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;- Specified by:
getHealthCheckConfigOrBuilderin interfaceEndpointOrBuilder
-
getHealthCheckConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Endpoint.HealthCheckConfig,Endpoint.HealthCheckConfig.Builder,Endpoint.HealthCheckConfigOrBuilder> getHealthCheckConfigFieldBuilder()
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;
-
getHostname
public java.lang.String getHostname()
The hostname associated with this endpoint. This hostname is not used for routing or address resolution. If provided, it will be associated with the endpoint, and can be used for features that require a hostname, like :ref:`auto_host_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>`.
string hostname = 3;- Specified by:
getHostnamein interfaceEndpointOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()
The hostname associated with this endpoint. This hostname is not used for routing or address resolution. If provided, it will be associated with the endpoint, and can be used for features that require a hostname, like :ref:`auto_host_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>`.
string hostname = 3;- Specified by:
getHostnameBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for hostname.
-
setHostname
public Endpoint.Builder setHostname(java.lang.String value)
The hostname associated with this endpoint. This hostname is not used for routing or address resolution. If provided, it will be associated with the endpoint, and can be used for features that require a hostname, like :ref:`auto_host_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>`.
string hostname = 3;- Parameters:
value- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
public Endpoint.Builder clearHostname()
The hostname associated with this endpoint. This hostname is not used for routing or address resolution. If provided, it will be associated with the endpoint, and can be used for features that require a hostname, like :ref:`auto_host_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>`.
string hostname = 3;- Returns:
- This builder for chaining.
-
setHostnameBytes
public Endpoint.Builder setHostnameBytes(com.google.protobuf.ByteString value)
The hostname associated with this endpoint. This hostname is not used for routing or address resolution. If provided, it will be associated with the endpoint, and can be used for features that require a hostname, like :ref:`auto_host_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>`.
string hostname = 3;- Parameters:
value- The bytes for hostname to set.- Returns:
- This builder for chaining.
-
ensureAdditionalAddressesIsMutable
private void ensureAdditionalAddressesIsMutable()
-
getAdditionalAddressesList
public java.util.List<Endpoint.AdditionalAddress> getAdditionalAddressesList()
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;- Specified by:
getAdditionalAddressesListin interfaceEndpointOrBuilder
-
getAdditionalAddressesCount
public int getAdditionalAddressesCount()
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;- Specified by:
getAdditionalAddressesCountin interfaceEndpointOrBuilder
-
getAdditionalAddresses
public Endpoint.AdditionalAddress getAdditionalAddresses(int index)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;- Specified by:
getAdditionalAddressesin interfaceEndpointOrBuilder
-
setAdditionalAddresses
public Endpoint.Builder setAdditionalAddresses(int index, Endpoint.AdditionalAddress value)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
-
setAdditionalAddresses
public Endpoint.Builder setAdditionalAddresses(int index, Endpoint.AdditionalAddress.Builder builderForValue)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
-
addAdditionalAddresses
public Endpoint.Builder addAdditionalAddresses(Endpoint.AdditionalAddress value)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
-
addAdditionalAddresses
public Endpoint.Builder addAdditionalAddresses(int index, Endpoint.AdditionalAddress value)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
-
addAdditionalAddresses
public Endpoint.Builder addAdditionalAddresses(Endpoint.AdditionalAddress.Builder builderForValue)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
-
addAdditionalAddresses
public Endpoint.Builder addAdditionalAddresses(int index, Endpoint.AdditionalAddress.Builder builderForValue)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
-
addAllAdditionalAddresses
public Endpoint.Builder addAllAdditionalAddresses(java.lang.Iterable<? extends Endpoint.AdditionalAddress> values)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
-
clearAdditionalAddresses
public Endpoint.Builder clearAdditionalAddresses()
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
-
removeAdditionalAddresses
public Endpoint.Builder removeAdditionalAddresses(int index)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
-
getAdditionalAddressesBuilder
public Endpoint.AdditionalAddress.Builder getAdditionalAddressesBuilder(int index)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
-
getAdditionalAddressesOrBuilder
public Endpoint.AdditionalAddressOrBuilder getAdditionalAddressesOrBuilder(int index)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;- Specified by:
getAdditionalAddressesOrBuilderin interfaceEndpointOrBuilder
-
getAdditionalAddressesOrBuilderList
public java.util.List<? extends Endpoint.AdditionalAddressOrBuilder> getAdditionalAddressesOrBuilderList()
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;- Specified by:
getAdditionalAddressesOrBuilderListin interfaceEndpointOrBuilder
-
addAdditionalAddressesBuilder
public Endpoint.AdditionalAddress.Builder addAdditionalAddressesBuilder()
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
-
addAdditionalAddressesBuilder
public Endpoint.AdditionalAddress.Builder addAdditionalAddressesBuilder(int index)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
-
getAdditionalAddressesBuilderList
public java.util.List<Endpoint.AdditionalAddress.Builder> getAdditionalAddressesBuilderList()
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint. The address given in the ``address`` is prepended to this list. It is assumed that the list must already be sorted by preference order of the addresses. This will only be supported for STATIC and EDS clusters.
repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
-
getAdditionalAddressesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<Endpoint.AdditionalAddress,Endpoint.AdditionalAddress.Builder,Endpoint.AdditionalAddressOrBuilder> getAdditionalAddressesFieldBuilder()
-
-