Class AutoscalingPolicyLoadBalancingUtilization (1.38.0)

public final class AutoscalingPolicyLoadBalancingUtilization extends GeneratedMessageV3 implements AutoscalingPolicyLoadBalancingUtilizationOrBuilder

Configuration parameters of autoscaling based on load balancing.

Protobuf type google.cloud.compute.v1.AutoscalingPolicyLoadBalancingUtilization

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AutoscalingPolicyLoadBalancingUtilization

Static Fields

UTILIZATION_TARGET_FIELD_NUMBER

public static final int UTILIZATION_TARGET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AutoscalingPolicyLoadBalancingUtilization getDefaultInstance()
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AutoscalingPolicyLoadBalancingUtilization.Builder newBuilder()
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization.Builder

newBuilder(AutoscalingPolicyLoadBalancingUtilization prototype)

public static AutoscalingPolicyLoadBalancingUtilization.Builder newBuilder(AutoscalingPolicyLoadBalancingUtilization prototype)
Parameter
NameDescription
prototypeAutoscalingPolicyLoadBalancingUtilization
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization.Builder

parseDelimitedFrom(InputStream input)

public static AutoscalingPolicyLoadBalancingUtilization parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoscalingPolicyLoadBalancingUtilization parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AutoscalingPolicyLoadBalancingUtilization parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutoscalingPolicyLoadBalancingUtilization parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutoscalingPolicyLoadBalancingUtilization parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutoscalingPolicyLoadBalancingUtilization parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutoscalingPolicyLoadBalancingUtilization parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoscalingPolicyLoadBalancingUtilization parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AutoscalingPolicyLoadBalancingUtilization parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoscalingPolicyLoadBalancingUtilization parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AutoscalingPolicyLoadBalancingUtilization parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutoscalingPolicyLoadBalancingUtilization parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AutoscalingPolicyLoadBalancingUtilization> parser()
Returns
TypeDescription
Parser<AutoscalingPolicyLoadBalancingUtilization>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AutoscalingPolicyLoadBalancingUtilization getDefaultInstanceForType()
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization

getParserForType()

public Parser<AutoscalingPolicyLoadBalancingUtilization> getParserForType()
Returns
TypeDescription
Parser<AutoscalingPolicyLoadBalancingUtilization>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUtilizationTarget()

public double getUtilizationTarget()

Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8.

optional double utilization_target = 215905870;

Returns
TypeDescription
double

The utilizationTarget.

hasUtilizationTarget()

public boolean hasUtilizationTarget()

Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8.

optional double utilization_target = 215905870;

Returns
TypeDescription
boolean

Whether the utilizationTarget field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AutoscalingPolicyLoadBalancingUtilization.Builder newBuilderForType()
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutoscalingPolicyLoadBalancingUtilization.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AutoscalingPolicyLoadBalancingUtilization.Builder toBuilder()
Returns
TypeDescription
AutoscalingPolicyLoadBalancingUtilization.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException