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 Address
address_
private com.google.protobuf.SingleFieldBuilder<Address,Address.Builder,AddressOrBuilder>
addressBuilder_
private int
bitField0_
private Endpoint.HealthCheckConfig
healthCheckConfig_
private com.google.protobuf.SingleFieldBuilder<Endpoint.HealthCheckConfig,Endpoint.HealthCheckConfig.Builder,Endpoint.HealthCheckConfigOrBuilder>
healthCheckConfigBuilder_
private java.lang.Object
hostname_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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.Endpoint.Builder
addAdditionalAddresses(Endpoint.AdditionalAddress value)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.Builder
addAdditionalAddresses(Endpoint.AdditionalAddress.Builder builderForValue)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.AdditionalAddress.Builder
addAdditionalAddressesBuilder()
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.AdditionalAddress.Builder
addAdditionalAddressesBuilder(int index)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.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.Endpoint
build()
Endpoint
buildPartial()
private void
buildPartial0(Endpoint result)
private void
buildPartialRepeatedFields(Endpoint result)
Endpoint.Builder
clear()
Endpoint.Builder
clearAdditionalAddresses()
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.Builder
clearAddress()
The upstream host address.Endpoint.Builder
clearHealthCheckConfig()
The optional health check configuration is used as configuration for the health checker to contact the health checked host.Endpoint.Builder
clearHostname()
The hostname associated with this endpoint.private void
ensureAdditionalAddressesIsMutable()
Endpoint.AdditionalAddress
getAdditionalAddresses(int index)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.Endpoint.AdditionalAddress.Builder
getAdditionalAddressesBuilder(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.int
getAdditionalAddressesCount()
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.AdditionalAddressOrBuilder
getAdditionalAddressesOrBuilder(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.Address
getAddress()
The upstream host address.Address.Builder
getAddressBuilder()
The upstream host address.private com.google.protobuf.SingleFieldBuilder<Address,Address.Builder,AddressOrBuilder>
getAddressFieldBuilder()
The upstream host address.AddressOrBuilder
getAddressOrBuilder()
The upstream host address.Endpoint
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Endpoint.HealthCheckConfig
getHealthCheckConfig()
The optional health check configuration is used as configuration for the health checker to contact the health checked host.Endpoint.HealthCheckConfig.Builder
getHealthCheckConfigBuilder()
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.HealthCheckConfigOrBuilder
getHealthCheckConfigOrBuilder()
The optional health check configuration is used as configuration for the health checker to contact the health checked host.java.lang.String
getHostname()
The hostname associated with this endpoint.com.google.protobuf.ByteString
getHostnameBytes()
The hostname associated with this endpoint.boolean
hasAddress()
The upstream host address.boolean
hasHealthCheckConfig()
The optional health check configuration is used as configuration for the health checker to contact the health checked host.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
Endpoint.Builder
mergeAddress(Address value)
The upstream host address.Endpoint.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Endpoint.Builder
mergeFrom(com.google.protobuf.Message other)
Endpoint.Builder
mergeFrom(Endpoint other)
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.Endpoint.Builder
removeAdditionalAddresses(int index)
An ordered list of addresses that together with ``address`` comprise the list of addresses for an endpoint.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.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.Endpoint.Builder
setAddress(Address value)
The upstream host address.Endpoint.Builder
setAddress(Address.Builder builderForValue)
The upstream host address.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.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.Endpoint.Builder
setHostname(java.lang.String value)
The hostname associated with this endpoint.Endpoint.Builder
setHostnameBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public Endpoint.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Endpoint.Builder>
-
getDefaultInstanceForType
public Endpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Endpoint build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Endpoint buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(Endpoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasAddress
in 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:
getAddress
in 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:
getAddressOrBuilder
in 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:
hasHealthCheckConfig
in 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:
getHealthCheckConfig
in 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:
getHealthCheckConfigOrBuilder
in 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:
getHostname
in 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:
getHostnameBytes
in 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:
getAdditionalAddressesList
in 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:
getAdditionalAddressesCount
in 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:
getAdditionalAddresses
in 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:
getAdditionalAddressesOrBuilder
in 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:
getAdditionalAddressesOrBuilderList
in 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()
-
-