Package com.google.cloud.compute.v1
Class AutoscalingPolicy
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.AutoscalingPolicy
- All Implemented Interfaces:
AutoscalingPolicyOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AutoscalingPolicy
extends com.google.protobuf.GeneratedMessage
implements AutoscalingPolicyOrBuilder
Cloud Autoscaler policy.Protobuf type
google.cloud.compute.v1.AutoscalingPolicy- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCloud Autoscaler policy.static enumDefines the operating mode for this policy.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanScaling schedules defined for an autoscaler.booleanintThe number of seconds that your application takes to initialize on a VM instance.Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.getCustomMetricUtilizations(int index) Configuration parameters of autoscaling based on a custom metric.intConfiguration parameters of autoscaling based on a custom metric.Configuration parameters of autoscaling based on a custom metric.getCustomMetricUtilizationsOrBuilder(int index) Configuration parameters of autoscaling based on a custom metric.Configuration parameters of autoscaling based on a custom metric.static AutoscalingPolicystatic final com.google.protobuf.Descriptors.DescriptorConfiguration parameters of autoscaling based on load balancer.Configuration parameters of autoscaling based on load balancer.intThe maximum number of instances that the autoscaler can scale out to.intThe minimum number of replicas that the autoscaler can scale in to.getMode()Defines the operating mode for this policy.com.google.protobuf.ByteStringDefines the operating mode for this policy.com.google.protobuf.Parser<AutoscalingPolicy>optional .google.cloud.compute.v1.AutoscalingPolicyScaleInControl scale_in_control = 527670872;optional .google.cloud.compute.v1.AutoscalingPolicyScaleInControl scale_in_control = 527670872;Deprecated.intScaling schedules defined for an autoscaler.Scaling schedules defined for an autoscaler.getScalingSchedulesOrDefault(String key, AutoscalingPolicyScalingSchedule defaultValue) Scaling schedules defined for an autoscaler.Scaling schedules defined for an autoscaler.intbooleanThe number of seconds that your application takes to initialize on a VM instance.booleanDefines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.inthashCode()booleanConfiguration parameters of autoscaling based on load balancer.booleanThe maximum number of instances that the autoscaler can scale out to.booleanThe minimum number of replicas that the autoscaler can scale in to.booleanhasMode()Defines the operating mode for this policy.booleanoptional .google.cloud.compute.v1.AutoscalingPolicyScaleInControl scale_in_control = 527670872;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic AutoscalingPolicy.Builderstatic AutoscalingPolicy.BuildernewBuilder(AutoscalingPolicy prototype) protected AutoscalingPolicy.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AutoscalingPolicyparseDelimitedFrom(InputStream input) static AutoscalingPolicyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AutoscalingPolicyparseFrom(byte[] data) static AutoscalingPolicyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AutoscalingPolicyparseFrom(com.google.protobuf.ByteString data) static AutoscalingPolicyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AutoscalingPolicyparseFrom(com.google.protobuf.CodedInputStream input) static AutoscalingPolicyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AutoscalingPolicyparseFrom(InputStream input) static AutoscalingPolicyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AutoscalingPolicyparseFrom(ByteBuffer data) static AutoscalingPolicyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AutoscalingPolicy>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
COOL_DOWN_PERIOD_SEC_FIELD_NUMBER
public static final int COOL_DOWN_PERIOD_SEC_FIELD_NUMBER- See Also:
-
CPU_UTILIZATION_FIELD_NUMBER
public static final int CPU_UTILIZATION_FIELD_NUMBER- See Also:
-
CUSTOM_METRIC_UTILIZATIONS_FIELD_NUMBER
public static final int CUSTOM_METRIC_UTILIZATIONS_FIELD_NUMBER- See Also:
-
LOAD_BALANCING_UTILIZATION_FIELD_NUMBER
public static final int LOAD_BALANCING_UTILIZATION_FIELD_NUMBER- See Also:
-
MAX_NUM_REPLICAS_FIELD_NUMBER
public static final int MAX_NUM_REPLICAS_FIELD_NUMBER- See Also:
-
MIN_NUM_REPLICAS_FIELD_NUMBER
public static final int MIN_NUM_REPLICAS_FIELD_NUMBER- See Also:
-
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER- See Also:
-
SCALE_IN_CONTROL_FIELD_NUMBER
public static final int SCALE_IN_CONTROL_FIELD_NUMBER- See Also:
-
SCALING_SCHEDULES_FIELD_NUMBER
public static final int SCALING_SCHEDULES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasCoolDownPeriodSec
public boolean hasCoolDownPeriodSec()The number of seconds that your application takes to initialize on a VM instance. This is referred to as the [initialization period](/compute/docs/autoscaler#cool_down_period). Specifying an accurate initialization period improves autoscaler decisions. For example, when scaling out, the autoscaler ignores data from VMs that are still initializing because those VMs might not yet represent normal usage of your application. The default initialization period is 60 seconds. Initialization periods might vary because of numerous factors. We recommend that you test how long your application takes to initialize. To do this, create a VM and time your application's startup process.
optional int32 cool_down_period_sec = 107692954;- Specified by:
hasCoolDownPeriodSecin interfaceAutoscalingPolicyOrBuilder- Returns:
- Whether the coolDownPeriodSec field is set.
-
getCoolDownPeriodSec
public int getCoolDownPeriodSec()The number of seconds that your application takes to initialize on a VM instance. This is referred to as the [initialization period](/compute/docs/autoscaler#cool_down_period). Specifying an accurate initialization period improves autoscaler decisions. For example, when scaling out, the autoscaler ignores data from VMs that are still initializing because those VMs might not yet represent normal usage of your application. The default initialization period is 60 seconds. Initialization periods might vary because of numerous factors. We recommend that you test how long your application takes to initialize. To do this, create a VM and time your application's startup process.
optional int32 cool_down_period_sec = 107692954;- Specified by:
getCoolDownPeriodSecin interfaceAutoscalingPolicyOrBuilder- Returns:
- The coolDownPeriodSec.
-
hasCpuUtilization
public boolean hasCpuUtilization()Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.
optional .google.cloud.compute.v1.AutoscalingPolicyCpuUtilization cpu_utilization = 381211147;- Specified by:
hasCpuUtilizationin interfaceAutoscalingPolicyOrBuilder- Returns:
- Whether the cpuUtilization field is set.
-
getCpuUtilization
Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.
optional .google.cloud.compute.v1.AutoscalingPolicyCpuUtilization cpu_utilization = 381211147;- Specified by:
getCpuUtilizationin interfaceAutoscalingPolicyOrBuilder- Returns:
- The cpuUtilization.
-
getCpuUtilizationOrBuilder
Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.
optional .google.cloud.compute.v1.AutoscalingPolicyCpuUtilization cpu_utilization = 381211147;- Specified by:
getCpuUtilizationOrBuilderin interfaceAutoscalingPolicyOrBuilder
-
getCustomMetricUtilizationsList
Configuration parameters of autoscaling based on a custom metric.
repeated .google.cloud.compute.v1.AutoscalingPolicyCustomMetricUtilization custom_metric_utilizations = 131972850;- Specified by:
getCustomMetricUtilizationsListin interfaceAutoscalingPolicyOrBuilder
-
getCustomMetricUtilizationsOrBuilderList
public List<? extends AutoscalingPolicyCustomMetricUtilizationOrBuilder> getCustomMetricUtilizationsOrBuilderList()Configuration parameters of autoscaling based on a custom metric.
repeated .google.cloud.compute.v1.AutoscalingPolicyCustomMetricUtilization custom_metric_utilizations = 131972850;- Specified by:
getCustomMetricUtilizationsOrBuilderListin interfaceAutoscalingPolicyOrBuilder
-
getCustomMetricUtilizationsCount
public int getCustomMetricUtilizationsCount()Configuration parameters of autoscaling based on a custom metric.
repeated .google.cloud.compute.v1.AutoscalingPolicyCustomMetricUtilization custom_metric_utilizations = 131972850;- Specified by:
getCustomMetricUtilizationsCountin interfaceAutoscalingPolicyOrBuilder
-
getCustomMetricUtilizations
Configuration parameters of autoscaling based on a custom metric.
repeated .google.cloud.compute.v1.AutoscalingPolicyCustomMetricUtilization custom_metric_utilizations = 131972850;- Specified by:
getCustomMetricUtilizationsin interfaceAutoscalingPolicyOrBuilder
-
getCustomMetricUtilizationsOrBuilder
public AutoscalingPolicyCustomMetricUtilizationOrBuilder getCustomMetricUtilizationsOrBuilder(int index) Configuration parameters of autoscaling based on a custom metric.
repeated .google.cloud.compute.v1.AutoscalingPolicyCustomMetricUtilization custom_metric_utilizations = 131972850;- Specified by:
getCustomMetricUtilizationsOrBuilderin interfaceAutoscalingPolicyOrBuilder
-
hasLoadBalancingUtilization
public boolean hasLoadBalancingUtilization()Configuration parameters of autoscaling based on load balancer.
optional .google.cloud.compute.v1.AutoscalingPolicyLoadBalancingUtilization load_balancing_utilization = 429746403;- Specified by:
hasLoadBalancingUtilizationin interfaceAutoscalingPolicyOrBuilder- Returns:
- Whether the loadBalancingUtilization field is set.
-
getLoadBalancingUtilization
Configuration parameters of autoscaling based on load balancer.
optional .google.cloud.compute.v1.AutoscalingPolicyLoadBalancingUtilization load_balancing_utilization = 429746403;- Specified by:
getLoadBalancingUtilizationin interfaceAutoscalingPolicyOrBuilder- Returns:
- The loadBalancingUtilization.
-
getLoadBalancingUtilizationOrBuilder
Configuration parameters of autoscaling based on load balancer.
optional .google.cloud.compute.v1.AutoscalingPolicyLoadBalancingUtilization load_balancing_utilization = 429746403;- Specified by:
getLoadBalancingUtilizationOrBuilderin interfaceAutoscalingPolicyOrBuilder
-
hasMaxNumReplicas
public boolean hasMaxNumReplicas()The maximum number of instances that the autoscaler can scale out to. This is required when creating or updating an autoscaler. The maximum number of replicas must not be lower than minimal number of replicas.
optional int32 max_num_replicas = 62327375;- Specified by:
hasMaxNumReplicasin interfaceAutoscalingPolicyOrBuilder- Returns:
- Whether the maxNumReplicas field is set.
-
getMaxNumReplicas
public int getMaxNumReplicas()The maximum number of instances that the autoscaler can scale out to. This is required when creating or updating an autoscaler. The maximum number of replicas must not be lower than minimal number of replicas.
optional int32 max_num_replicas = 62327375;- Specified by:
getMaxNumReplicasin interfaceAutoscalingPolicyOrBuilder- Returns:
- The maxNumReplicas.
-
hasMinNumReplicas
public boolean hasMinNumReplicas()The minimum number of replicas that the autoscaler can scale in to. This cannot be less than 0. If not provided, autoscaler chooses a default value depending on maximum number of instances allowed.
optional int32 min_num_replicas = 535329825;- Specified by:
hasMinNumReplicasin interfaceAutoscalingPolicyOrBuilder- Returns:
- Whether the minNumReplicas field is set.
-
getMinNumReplicas
public int getMinNumReplicas()The minimum number of replicas that the autoscaler can scale in to. This cannot be less than 0. If not provided, autoscaler chooses a default value depending on maximum number of instances allowed.
optional int32 min_num_replicas = 535329825;- Specified by:
getMinNumReplicasin interfaceAutoscalingPolicyOrBuilder- Returns:
- The minNumReplicas.
-
hasMode
public boolean hasMode()Defines the operating mode for this policy. The following modes are available: - OFF: Disables the autoscaler but maintains its configuration. - ONLY_SCALE_OUT: Restricts the autoscaler to add VM instances only. - ON: Enables all autoscaler activities according to its policy. For more information, see "Turning off or restricting an autoscaler" Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Specified by:
hasModein interfaceAutoscalingPolicyOrBuilder- Returns:
- Whether the mode field is set.
-
getMode
Defines the operating mode for this policy. The following modes are available: - OFF: Disables the autoscaler but maintains its configuration. - ONLY_SCALE_OUT: Restricts the autoscaler to add VM instances only. - ON: Enables all autoscaler activities according to its policy. For more information, see "Turning off or restricting an autoscaler" Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Specified by:
getModein interfaceAutoscalingPolicyOrBuilder- Returns:
- The mode.
-
getModeBytes
public com.google.protobuf.ByteString getModeBytes()Defines the operating mode for this policy. The following modes are available: - OFF: Disables the autoscaler but maintains its configuration. - ONLY_SCALE_OUT: Restricts the autoscaler to add VM instances only. - ON: Enables all autoscaler activities according to its policy. For more information, see "Turning off or restricting an autoscaler" Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Specified by:
getModeBytesin interfaceAutoscalingPolicyOrBuilder- Returns:
- The bytes for mode.
-
hasScaleInControl
public boolean hasScaleInControl()optional .google.cloud.compute.v1.AutoscalingPolicyScaleInControl scale_in_control = 527670872;- Specified by:
hasScaleInControlin interfaceAutoscalingPolicyOrBuilder- Returns:
- Whether the scaleInControl field is set.
-
getScaleInControl
optional .google.cloud.compute.v1.AutoscalingPolicyScaleInControl scale_in_control = 527670872;- Specified by:
getScaleInControlin interfaceAutoscalingPolicyOrBuilder- Returns:
- The scaleInControl.
-
getScaleInControlOrBuilder
optional .google.cloud.compute.v1.AutoscalingPolicyScaleInControl scale_in_control = 527670872;- Specified by:
getScaleInControlOrBuilderin interfaceAutoscalingPolicyOrBuilder
-
getScalingSchedulesCount
public int getScalingSchedulesCount()Description copied from interface:AutoscalingPolicyOrBuilderScaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed.
map<string, .google.cloud.compute.v1.AutoscalingPolicyScalingSchedule> scaling_schedules = 355416580;- Specified by:
getScalingSchedulesCountin interfaceAutoscalingPolicyOrBuilder
-
containsScalingSchedules
Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed.
map<string, .google.cloud.compute.v1.AutoscalingPolicyScalingSchedule> scaling_schedules = 355416580;- Specified by:
containsScalingSchedulesin interfaceAutoscalingPolicyOrBuilder
-
getScalingSchedules
Deprecated.UsegetScalingSchedulesMap()instead.- Specified by:
getScalingSchedulesin interfaceAutoscalingPolicyOrBuilder
-
getScalingSchedulesMap
Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed.
map<string, .google.cloud.compute.v1.AutoscalingPolicyScalingSchedule> scaling_schedules = 355416580;- Specified by:
getScalingSchedulesMapin interfaceAutoscalingPolicyOrBuilder
-
getScalingSchedulesOrDefault
public AutoscalingPolicyScalingSchedule getScalingSchedulesOrDefault(String key, AutoscalingPolicyScalingSchedule defaultValue) Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed.
map<string, .google.cloud.compute.v1.AutoscalingPolicyScalingSchedule> scaling_schedules = 355416580;- Specified by:
getScalingSchedulesOrDefaultin interfaceAutoscalingPolicyOrBuilder
-
getScalingSchedulesOrThrow
Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed.
map<string, .google.cloud.compute.v1.AutoscalingPolicyScalingSchedule> scaling_schedules = 355416580;- Specified by:
getScalingSchedulesOrThrowin interfaceAutoscalingPolicyOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AutoscalingPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AutoscalingPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AutoscalingPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AutoscalingPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AutoscalingPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AutoscalingPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AutoscalingPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AutoscalingPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AutoscalingPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AutoscalingPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AutoscalingPolicy.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-