public interface LocalityOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getRegion()
Region this :ref:`zone <envoy_api_field_config.core.v4alpha.Locality.zone>` belongs to.
|
com.google.protobuf.ByteString |
getRegionBytes()
Region this :ref:`zone <envoy_api_field_config.core.v4alpha.Locality.zone>` belongs to.
|
String |
getSubZone()
When used for locality of upstream hosts, this field further splits zone
into smaller chunks of sub-zones so they can be load balanced
independently.
|
com.google.protobuf.ByteString |
getSubZoneBytes()
When used for locality of upstream hosts, this field further splits zone
into smaller chunks of sub-zones so they can be load balanced
independently.
|
String |
getZone()
Defines the local service zone where Envoy is running.
|
com.google.protobuf.ByteString |
getZoneBytes()
Defines the local service zone where Envoy is running.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getRegion()
Region this :ref:`zone <envoy_api_field_config.core.v4alpha.Locality.zone>` belongs to.
string region = 1;com.google.protobuf.ByteString getRegionBytes()
Region this :ref:`zone <envoy_api_field_config.core.v4alpha.Locality.zone>` belongs to.
string region = 1;String getZone()
Defines the local service zone where Envoy is running. Though optional, it should be set if discovery service routing is used and the discovery service exposes :ref:`zone data <envoy_api_field_config.endpoint.v3.LocalityLbEndpoints.locality>`, either in this message or via :option:`--service-zone`. The meaning of zone is context dependent, e.g. `Availability Zone (AZ) <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html>`_ on AWS, `Zone <https://cloud.google.com/compute/docs/regions-zones/>`_ on GCP, etc.
string zone = 2;com.google.protobuf.ByteString getZoneBytes()
Defines the local service zone where Envoy is running. Though optional, it should be set if discovery service routing is used and the discovery service exposes :ref:`zone data <envoy_api_field_config.endpoint.v3.LocalityLbEndpoints.locality>`, either in this message or via :option:`--service-zone`. The meaning of zone is context dependent, e.g. `Availability Zone (AZ) <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html>`_ on AWS, `Zone <https://cloud.google.com/compute/docs/regions-zones/>`_ on GCP, etc.
string zone = 2;String getSubZone()
When used for locality of upstream hosts, this field further splits zone into smaller chunks of sub-zones so they can be load balanced independently.
string sub_zone = 3;com.google.protobuf.ByteString getSubZoneBytes()
When used for locality of upstream hosts, this field further splits zone into smaller chunks of sub-zones so they can be load balanced independently.
string sub_zone = 3;Copyright © 2018–2021 The Envoy Project. All rights reserved.