Interface InternalRange.AllocationOptionsOrBuilder (1.71.0)

public static interface InternalRange.AllocationOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllocationStrategy()

public abstract InternalRange.AllocationStrategy getAllocationStrategy()

Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.

.google.cloud.networkconnectivity.v1.InternalRange.AllocationStrategy allocation_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InternalRange.AllocationStrategy

The allocationStrategy.

getAllocationStrategyValue()

public abstract int getAllocationStrategyValue()

Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.

.google.cloud.networkconnectivity.v1.InternalRange.AllocationStrategy allocation_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for allocationStrategy.

getFirstAvailableRangesLookupSize()

public abstract int getFirstAvailableRangesLookupSize()

Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.

int32 first_available_ranges_lookup_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The firstAvailableRangesLookupSize.