public final class AutoscalingPolicyLoadBalancingUtilization extends GeneratedMessageV3 implements AutoscalingPolicyLoadBalancingUtilizationOrBuilder
Configuration parameters of autoscaling based on load balancing.
Protobuf type google.cloud.compute.v1.AutoscalingPolicyLoadBalancingUtilization
Fields
UTILIZATION_TARGET_FIELD_NUMBER
public static final int UTILIZATION_TARGET_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static AutoscalingPolicyLoadBalancingUtilization getDefaultInstance()
Returns
getDefaultInstanceForType()
public AutoscalingPolicyLoadBalancingUtilization getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<AutoscalingPolicyLoadBalancingUtilization> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Type | Description |
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
Type | Description |
boolean | Whether the utilizationTarget field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static AutoscalingPolicyLoadBalancingUtilization.Builder newBuilder()
Returns
newBuilder(AutoscalingPolicyLoadBalancingUtilization prototype)
public static AutoscalingPolicyLoadBalancingUtilization.Builder newBuilder(AutoscalingPolicyLoadBalancingUtilization prototype)
Parameter
Returns
newBuilderForType()
public AutoscalingPolicyLoadBalancingUtilization.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutoscalingPolicyLoadBalancingUtilization.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static AutoscalingPolicyLoadBalancingUtilization parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AutoscalingPolicyLoadBalancingUtilization parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AutoscalingPolicyLoadBalancingUtilization parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingPolicyLoadBalancingUtilization parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AutoscalingPolicyLoadBalancingUtilization parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingPolicyLoadBalancingUtilization parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoscalingPolicyLoadBalancingUtilization parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AutoscalingPolicyLoadBalancingUtilization parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoscalingPolicyLoadBalancingUtilization parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AutoscalingPolicyLoadBalancingUtilization parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AutoscalingPolicyLoadBalancingUtilization parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingPolicyLoadBalancingUtilization parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AutoscalingPolicyLoadBalancingUtilization> parser()
Returns
toBuilder()
public AutoscalingPolicyLoadBalancingUtilization.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions