Class BackendServiceNetworkPassThroughLbTrafficPolicy.Builder (1.93.0)

public static final class BackendServiceNetworkPassThroughLbTrafficPolicy.Builder extends GeneratedMessage.Builder<BackendServiceNetworkPassThroughLbTrafficPolicy.Builder> implements BackendServiceNetworkPassThroughLbTrafficPolicyOrBuilder

Protobuf type google.cloud.compute.v1.BackendServiceNetworkPassThroughLbTrafficPolicy

Static Methods

getDescriptor()

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

Methods

build()

public BackendServiceNetworkPassThroughLbTrafficPolicy build()
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy

buildPartial()

public BackendServiceNetworkPassThroughLbTrafficPolicy buildPartial()
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy

clear()

public BackendServiceNetworkPassThroughLbTrafficPolicy.Builder clear()
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy.Builder
Overrides

clearZonalAffinity()

public BackendServiceNetworkPassThroughLbTrafficPolicy.Builder clearZonalAffinity()

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
BackendServiceNetworkPassThroughLbTrafficPolicy.Builder

getDefaultInstanceForType()

public BackendServiceNetworkPassThroughLbTrafficPolicy getDefaultInstanceForType()
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getZonalAffinityBuilder()

public BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Builder getZonalAffinityBuilder()

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.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BackendServiceNetworkPassThroughLbTrafficPolicy other)

public BackendServiceNetworkPassThroughLbTrafficPolicy.Builder mergeFrom(BackendServiceNetworkPassThroughLbTrafficPolicy other)
Parameter
Name Description
other BackendServiceNetworkPassThroughLbTrafficPolicy
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BackendServiceNetworkPassThroughLbTrafficPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BackendServiceNetworkPassThroughLbTrafficPolicy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy.Builder
Overrides

mergeZonalAffinity(BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity value)

public BackendServiceNetworkPassThroughLbTrafficPolicy.Builder mergeZonalAffinity(BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity value)

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

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

Parameter
Name Description
value BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy.Builder

setZonalAffinity(BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity value)

public BackendServiceNetworkPassThroughLbTrafficPolicy.Builder setZonalAffinity(BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity value)

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

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

Parameter
Name Description
value BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy.Builder

setZonalAffinity(BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Builder builderForValue)

public BackendServiceNetworkPassThroughLbTrafficPolicy.Builder setZonalAffinity(BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Builder
Returns
Type Description
BackendServiceNetworkPassThroughLbTrafficPolicy.Builder