Class BackendServiceNetworkPassThroughLbTrafficPolicy (1.93.0)

public final class BackendServiceNetworkPassThroughLbTrafficPolicy extends GeneratedMessage implements BackendServiceNetworkPassThroughLbTrafficPolicyOrBuilder

Protobuf type google.cloud.compute.v1.BackendServiceNetworkPassThroughLbTrafficPolicy

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BackendServiceNetworkPassThroughLbTrafficPolicy

Static Fields

ZONAL_AFFINITY_FIELD_NUMBER

public static final int ZONAL_AFFINITY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BackendServiceNetworkPassThroughLbTrafficPolicy getDefaultInstance()
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BackendServiceNetworkPassThroughLbTrafficPolicy.Builder newBuilder()
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy.Builder

newBuilder(BackendServiceNetworkPassThroughLbTrafficPolicy prototype)

public static BackendServiceNetworkPassThroughLbTrafficPolicy.Builder newBuilder(BackendServiceNetworkPassThroughLbTrafficPolicy prototype)
Parameter
Name Description
prototype BackendServiceNetworkPassThroughLbTrafficPolicy
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy.Builder

parseDelimitedFrom(InputStream input)

public static BackendServiceNetworkPassThroughLbTrafficPolicy parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendServiceNetworkPassThroughLbTrafficPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BackendServiceNetworkPassThroughLbTrafficPolicy parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BackendServiceNetworkPassThroughLbTrafficPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BackendServiceNetworkPassThroughLbTrafficPolicy parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BackendServiceNetworkPassThroughLbTrafficPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BackendServiceNetworkPassThroughLbTrafficPolicy parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendServiceNetworkPassThroughLbTrafficPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BackendServiceNetworkPassThroughLbTrafficPolicy parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendServiceNetworkPassThroughLbTrafficPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BackendServiceNetworkPassThroughLbTrafficPolicy parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BackendServiceNetworkPassThroughLbTrafficPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BackendServiceNetworkPassThroughLbTrafficPolicy> parser()
Returns
Type Description
Parser<BackendServiceNetworkPassThroughLbTrafficPolicy>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BackendServiceNetworkPassThroughLbTrafficPolicy getDefaultInstanceForType()
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy

getParserForType()

public Parser<BackendServiceNetworkPassThroughLbTrafficPolicy> getParserForType()
Returns
Type Description
Parser<BackendServiceNetworkPassThroughLbTrafficPolicy>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getZonalAffinity()

public BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity getZonalAffinity()

When configured, new connections are load balanced across healthy backend endpoints in the local zone.

optional .google.cloud.compute.v1.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity zonal_affinity = 536266051;

Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity

The zonalAffinity.

getZonalAffinityOrBuilder()

public BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinityOrBuilder getZonalAffinityOrBuilder()

When configured, new connections are load balanced across healthy backend endpoints in the local zone.

optional .google.cloud.compute.v1.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity zonal_affinity = 536266051;

Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinityOrBuilder

hasZonalAffinity()

public boolean hasZonalAffinity()

When configured, new connections are load balanced across healthy backend endpoints in the local zone.

optional .google.cloud.compute.v1.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity zonal_affinity = 536266051;

Returns
Type Description
boolean

Whether the zonalAffinity field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BackendServiceNetworkPassThroughLbTrafficPolicy.Builder newBuilderForType()
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected BackendServiceNetworkPassThroughLbTrafficPolicy.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy.Builder
Overrides

toBuilder()

public BackendServiceNetworkPassThroughLbTrafficPolicy.Builder toBuilder()
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException