public final class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity extends GeneratedMessage implements BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinityOrBuilder
Protobuf type
google.cloud.compute.v1.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
SPILLOVER_FIELD_NUMBER
public static final int SPILLOVER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SPILLOVER_RATIO_FIELD_NUMBER
public static final int SPILLOVER_RATIO_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Builder newBuilder()
newBuilder(BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity prototype)
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Builder newBuilder(BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity prototype)
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity parseDelimitedFrom(InputStream input)
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity parseFrom(CodedInputStream input)
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity parseFrom(InputStream input)
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity getDefaultInstanceForType()
getParserForType()
public Parser<BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSpillover()
public String getSpillover()
This field indicates whether zonal affinity is enabled or not. The
possible values are:
- ZONAL_AFFINITY_DISABLED: Default Value. Zonal Affinity
is disabled. The load balancer distributes new connections to all
healthy backend endpoints across all zones.
- ZONAL_AFFINITY_STAY_WITHIN_ZONE: Zonal Affinity is
enabled. The load balancer distributes new connections to all healthy
backend endpoints in the local zone only. If there are no healthy
backend endpoints in the local zone, the load balancer distributes
new connections to all backend endpoints in the local zone.
- ZONAL_AFFINITY_SPILL_CROSS_ZONE: Zonal Affinity is
enabled. The load balancer distributes new connections to all healthy
backend endpoints in the local zone only. If there aren't enough
healthy backend endpoints in the local zone, the load balancer
distributes new connections to all healthy backend endpoints across all
zones.
Check the Spillover enum for the list of possible values.
optional string spillover = 505501440;
| Returns |
| Type |
Description |
String |
The spillover.
|
getSpilloverBytes()
public ByteString getSpilloverBytes()
This field indicates whether zonal affinity is enabled or not. The
possible values are:
- ZONAL_AFFINITY_DISABLED: Default Value. Zonal Affinity
is disabled. The load balancer distributes new connections to all
healthy backend endpoints across all zones.
- ZONAL_AFFINITY_STAY_WITHIN_ZONE: Zonal Affinity is
enabled. The load balancer distributes new connections to all healthy
backend endpoints in the local zone only. If there are no healthy
backend endpoints in the local zone, the load balancer distributes
new connections to all backend endpoints in the local zone.
- ZONAL_AFFINITY_SPILL_CROSS_ZONE: Zonal Affinity is
enabled. The load balancer distributes new connections to all healthy
backend endpoints in the local zone only. If there aren't enough
healthy backend endpoints in the local zone, the load balancer
distributes new connections to all healthy backend endpoints across all
zones.
Check the Spillover enum for the list of possible values.
optional string spillover = 505501440;
| Returns |
| Type |
Description |
ByteString |
The bytes for spillover.
|
getSpilloverRatio()
public float getSpilloverRatio()
The value of the field must be in [0, 1]. When the ratio of the count
of healthy backend endpoints in a zone to the count of backend
endpoints in that same zone is equal to or above this threshold, the
load balancer distributes new connections to all healthy endpoints in
the local zone only. When the ratio of the count of healthy backend
endpoints in a zone to the count of backend endpoints in that same
zone is below this threshold, the load balancer distributes all new
connections to all healthy endpoints across all zones.
optional float spillover_ratio = 135580172;
| Returns |
| Type |
Description |
float |
The spilloverRatio.
|
hasSpillover()
public boolean hasSpillover()
This field indicates whether zonal affinity is enabled or not. The
possible values are:
- ZONAL_AFFINITY_DISABLED: Default Value. Zonal Affinity
is disabled. The load balancer distributes new connections to all
healthy backend endpoints across all zones.
- ZONAL_AFFINITY_STAY_WITHIN_ZONE: Zonal Affinity is
enabled. The load balancer distributes new connections to all healthy
backend endpoints in the local zone only. If there are no healthy
backend endpoints in the local zone, the load balancer distributes
new connections to all backend endpoints in the local zone.
- ZONAL_AFFINITY_SPILL_CROSS_ZONE: Zonal Affinity is
enabled. The load balancer distributes new connections to all healthy
backend endpoints in the local zone only. If there aren't enough
healthy backend endpoints in the local zone, the load balancer
distributes new connections to all healthy backend endpoints across all
zones.
Check the Spillover enum for the list of possible values.
optional string spillover = 505501440;
| Returns |
| Type |
Description |
boolean |
Whether the spillover field is set.
|
hasSpilloverRatio()
public boolean hasSpilloverRatio()
The value of the field must be in [0, 1]. When the ratio of the count
of healthy backend endpoints in a zone to the count of backend
endpoints in that same zone is equal to or above this threshold, the
load balancer distributes new connections to all healthy endpoints in
the local zone only. When the ratio of the count of healthy backend
endpoints in a zone to the count of backend endpoints in that same
zone is below this threshold, the load balancer distributes all new
connections to all healthy endpoints across all zones.
optional float spillover_ratio = 135580172;
| Returns |
| Type |
Description |
boolean |
Whether the spilloverRatio field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides