public final class Autoscaler extends com.google.protobuf.GeneratedMessageV3 implements AutoscalerOrBuilder
Represents an Autoscaler resource. Google Compute Engine has two Autoscaler resources: * [Zonal](/compute/docs/reference/rest/v1/autoscalers) * [Regional](/compute/docs/reference/rest/v1/regionAutoscalers) Use autoscalers to automatically add or delete instances from a managed instance group according to your defined autoscaling policy. For more information, read Autoscaling Groups of Instances. For zonal managed instance groups resource, use the autoscaler resource. For regional managed instance groups, use the regionAutoscalers resource.Protobuf type
google.cloud.compute.v1.Autoscaler| Modifier and Type | Class and Description |
|---|---|
static class |
Autoscaler.Builder
Represents an Autoscaler resource.
|
static class |
Autoscaler.Status
[Output Only] The status of the autoscaler configuration.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AUTOSCALING_POLICY_FIELD_NUMBER |
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RECOMMENDED_SIZE_FIELD_NUMBER |
static int |
REGION_FIELD_NUMBER |
static int |
SCALING_SCHEDULE_STATUS_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
STATUS_DETAILS_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
TARGET_FIELD_NUMBER |
static int |
ZONE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsScalingScheduleStatus(String key)
[Output Only] Status information of existing scaling schedules.
|
boolean |
equals(Object obj) |
AutoscalingPolicy |
getAutoscalingPolicy()
The configuration parameters for the autoscaling algorithm.
|
AutoscalingPolicyOrBuilder |
getAutoscalingPolicyOrBuilder()
The configuration parameters for the autoscaling algorithm.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
static Autoscaler |
getDefaultInstance() |
Autoscaler |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
com.google.protobuf.Parser<Autoscaler> |
getParserForType() |
int |
getRecommendedSize()
[Output Only] Target recommended MIG size (number of instances) computed by autoscaler.
|
String |
getRegion()
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).
|
Map<String,ScalingScheduleStatus> |
getScalingScheduleStatus()
Deprecated.
|
int |
getScalingScheduleStatusCount()
[Output Only] Status information of existing scaling schedules.
|
Map<String,ScalingScheduleStatus> |
getScalingScheduleStatusMap()
[Output Only] Status information of existing scaling schedules.
|
ScalingScheduleStatus |
getScalingScheduleStatusOrDefault(String key,
ScalingScheduleStatus defaultValue)
[Output Only] Status information of existing scaling schedules.
|
ScalingScheduleStatus |
getScalingScheduleStatusOrThrow(String key)
[Output Only] Status information of existing scaling schedules.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
int |
getSerializedSize() |
String |
getStatus()
[Output Only] The status of the autoscaler configuration.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] The status of the autoscaler configuration.
|
AutoscalerStatusDetails |
getStatusDetails(int index)
[Output Only] Human-readable details about the current state of the autoscaler.
|
int |
getStatusDetailsCount()
[Output Only] Human-readable details about the current state of the autoscaler.
|
List<AutoscalerStatusDetails> |
getStatusDetailsList()
[Output Only] Human-readable details about the current state of the autoscaler.
|
AutoscalerStatusDetailsOrBuilder |
getStatusDetailsOrBuilder(int index)
[Output Only] Human-readable details about the current state of the autoscaler.
|
List<? extends AutoscalerStatusDetailsOrBuilder> |
getStatusDetailsOrBuilderList()
[Output Only] Human-readable details about the current state of the autoscaler.
|
String |
getTarget()
URL of the managed instance group that this autoscaler will scale.
|
com.google.protobuf.ByteString |
getTargetBytes()
URL of the managed instance group that this autoscaler will scale.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getZone()
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).
|
com.google.protobuf.ByteString |
getZoneBytes()
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).
|
boolean |
hasAutoscalingPolicy()
The configuration parameters for the autoscaling algorithm.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
int |
hashCode() |
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasRecommendedSize()
[Output Only] Target recommended MIG size (number of instances) computed by autoscaler.
|
boolean |
hasRegion()
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasStatus()
[Output Only] The status of the autoscaler configuration.
|
boolean |
hasTarget()
URL of the managed instance group that this autoscaler will scale.
|
boolean |
hasZone()
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Autoscaler.Builder |
newBuilder() |
static Autoscaler.Builder |
newBuilder(Autoscaler prototype) |
Autoscaler.Builder |
newBuilderForType() |
protected Autoscaler.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Autoscaler |
parseDelimitedFrom(InputStream input) |
static Autoscaler |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Autoscaler |
parseFrom(byte[] data) |
static Autoscaler |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Autoscaler |
parseFrom(ByteBuffer data) |
static Autoscaler |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Autoscaler |
parseFrom(com.google.protobuf.ByteString data) |
static Autoscaler |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Autoscaler |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Autoscaler |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Autoscaler |
parseFrom(InputStream input) |
static Autoscaler |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Autoscaler> |
parser() |
Autoscaler.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int AUTOSCALING_POLICY_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int RECOMMENDED_SIZE_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
public static final int SCALING_SCHEDULE_STATUS_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int STATUS_DETAILS_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasAutoscalingPolicy()
The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%.
optional .google.cloud.compute.v1.AutoscalingPolicy autoscaling_policy = 221950041;
hasAutoscalingPolicy in interface AutoscalerOrBuilderpublic AutoscalingPolicy getAutoscalingPolicy()
The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%.
optional .google.cloud.compute.v1.AutoscalingPolicy autoscaling_policy = 221950041;
getAutoscalingPolicy in interface AutoscalerOrBuilderpublic AutoscalingPolicyOrBuilder getAutoscalingPolicyOrBuilder()
The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%.
optional .google.cloud.compute.v1.AutoscalingPolicy autoscaling_policy = 221950041;
getAutoscalingPolicyOrBuilder in interface AutoscalerOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface AutoscalerOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface AutoscalerOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface AutoscalerOrBuilderpublic boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface AutoscalerOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface AutoscalerOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface AutoscalerOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface AutoscalerOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface AutoscalerOrBuilderpublic boolean hasKind()
[Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
optional string kind = 3292052;hasKind in interface AutoscalerOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
optional string kind = 3292052;getKind in interface AutoscalerOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
optional string kind = 3292052;getKindBytes in interface AutoscalerOrBuilderpublic boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface AutoscalerOrBuilderpublic String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface AutoscalerOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface AutoscalerOrBuilderpublic boolean hasRecommendedSize()
[Output Only] Target recommended MIG size (number of instances) computed by autoscaler. Autoscaler calculates the recommended MIG size even when the autoscaling policy mode is different from ON. This field is empty when autoscaler is not connected to an existing managed instance group or autoscaler did not generate its prediction.
optional int32 recommended_size = 257915749;hasRecommendedSize in interface AutoscalerOrBuilderpublic int getRecommendedSize()
[Output Only] Target recommended MIG size (number of instances) computed by autoscaler. Autoscaler calculates the recommended MIG size even when the autoscaling policy mode is different from ON. This field is empty when autoscaler is not connected to an existing managed instance group or autoscaler did not generate its prediction.
optional int32 recommended_size = 257915749;getRecommendedSize in interface AutoscalerOrBuilderpublic boolean hasRegion()
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).
optional string region = 138946292;hasRegion in interface AutoscalerOrBuilderpublic String getRegion()
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).
optional string region = 138946292;getRegion in interface AutoscalerOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).
optional string region = 138946292;getRegionBytes in interface AutoscalerOrBuilderpublic int getScalingScheduleStatusCount()
AutoscalerOrBuilder[Output Only] Status information of existing scaling schedules.
map<string, .google.cloud.compute.v1.ScalingScheduleStatus> scaling_schedule_status = 465950178;
getScalingScheduleStatusCount in interface AutoscalerOrBuilderpublic boolean containsScalingScheduleStatus(String key)
[Output Only] Status information of existing scaling schedules.
map<string, .google.cloud.compute.v1.ScalingScheduleStatus> scaling_schedule_status = 465950178;
containsScalingScheduleStatus in interface AutoscalerOrBuilder@Deprecated public Map<String,ScalingScheduleStatus> getScalingScheduleStatus()
getScalingScheduleStatusMap() instead.getScalingScheduleStatus in interface AutoscalerOrBuilderpublic Map<String,ScalingScheduleStatus> getScalingScheduleStatusMap()
[Output Only] Status information of existing scaling schedules.
map<string, .google.cloud.compute.v1.ScalingScheduleStatus> scaling_schedule_status = 465950178;
getScalingScheduleStatusMap in interface AutoscalerOrBuilderpublic ScalingScheduleStatus getScalingScheduleStatusOrDefault(String key, ScalingScheduleStatus defaultValue)
[Output Only] Status information of existing scaling schedules.
map<string, .google.cloud.compute.v1.ScalingScheduleStatus> scaling_schedule_status = 465950178;
getScalingScheduleStatusOrDefault in interface AutoscalerOrBuilderpublic ScalingScheduleStatus getScalingScheduleStatusOrThrow(String key)
[Output Only] Status information of existing scaling schedules.
map<string, .google.cloud.compute.v1.ScalingScheduleStatus> scaling_schedule_status = 465950178;
getScalingScheduleStatusOrThrow in interface AutoscalerOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface AutoscalerOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface AutoscalerOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface AutoscalerOrBuilderpublic boolean hasStatus()
[Output Only] The status of the autoscaler configuration. Current set of possible values: - PENDING: Autoscaler backend hasn't read new/updated configuration. - DELETING: Configuration is being deleted. - ACTIVE: Configuration is acknowledged to be effective. Some warnings might be present in the statusDetails field. - ERROR: Configuration has errors. Actionable for users. Details are present in the statusDetails field. New values might be added in the future. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface AutoscalerOrBuilderpublic String getStatus()
[Output Only] The status of the autoscaler configuration. Current set of possible values: - PENDING: Autoscaler backend hasn't read new/updated configuration. - DELETING: Configuration is being deleted. - ACTIVE: Configuration is acknowledged to be effective. Some warnings might be present in the statusDetails field. - ERROR: Configuration has errors. Actionable for users. Details are present in the statusDetails field. New values might be added in the future. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface AutoscalerOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the autoscaler configuration. Current set of possible values: - PENDING: Autoscaler backend hasn't read new/updated configuration. - DELETING: Configuration is being deleted. - ACTIVE: Configuration is acknowledged to be effective. Some warnings might be present in the statusDetails field. - ERROR: Configuration has errors. Actionable for users. Details are present in the statusDetails field. New values might be added in the future. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface AutoscalerOrBuilderpublic List<AutoscalerStatusDetails> getStatusDetailsList()
[Output Only] Human-readable details about the current state of the autoscaler. Read the documentation for Commonly returned status messages for examples of status messages you might encounter.
repeated .google.cloud.compute.v1.AutoscalerStatusDetails status_details = 363353845;
getStatusDetailsList in interface AutoscalerOrBuilderpublic List<? extends AutoscalerStatusDetailsOrBuilder> getStatusDetailsOrBuilderList()
[Output Only] Human-readable details about the current state of the autoscaler. Read the documentation for Commonly returned status messages for examples of status messages you might encounter.
repeated .google.cloud.compute.v1.AutoscalerStatusDetails status_details = 363353845;
getStatusDetailsOrBuilderList in interface AutoscalerOrBuilderpublic int getStatusDetailsCount()
[Output Only] Human-readable details about the current state of the autoscaler. Read the documentation for Commonly returned status messages for examples of status messages you might encounter.
repeated .google.cloud.compute.v1.AutoscalerStatusDetails status_details = 363353845;
getStatusDetailsCount in interface AutoscalerOrBuilderpublic AutoscalerStatusDetails getStatusDetails(int index)
[Output Only] Human-readable details about the current state of the autoscaler. Read the documentation for Commonly returned status messages for examples of status messages you might encounter.
repeated .google.cloud.compute.v1.AutoscalerStatusDetails status_details = 363353845;
getStatusDetails in interface AutoscalerOrBuilderpublic AutoscalerStatusDetailsOrBuilder getStatusDetailsOrBuilder(int index)
[Output Only] Human-readable details about the current state of the autoscaler. Read the documentation for Commonly returned status messages for examples of status messages you might encounter.
repeated .google.cloud.compute.v1.AutoscalerStatusDetails status_details = 363353845;
getStatusDetailsOrBuilder in interface AutoscalerOrBuilderpublic boolean hasTarget()
URL of the managed instance group that this autoscaler will scale. This field is required when creating an autoscaler.
optional string target = 192835985;hasTarget in interface AutoscalerOrBuilderpublic String getTarget()
URL of the managed instance group that this autoscaler will scale. This field is required when creating an autoscaler.
optional string target = 192835985;getTarget in interface AutoscalerOrBuilderpublic com.google.protobuf.ByteString getTargetBytes()
URL of the managed instance group that this autoscaler will scale. This field is required when creating an autoscaler.
optional string target = 192835985;getTargetBytes in interface AutoscalerOrBuilderpublic boolean hasZone()
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).
optional string zone = 3744684;hasZone in interface AutoscalerOrBuilderpublic String getZone()
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).
optional string zone = 3744684;getZone in interface AutoscalerOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).
optional string zone = 3744684;getZoneBytes in interface AutoscalerOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Autoscaler parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Autoscaler parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Autoscaler parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Autoscaler parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Autoscaler parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Autoscaler parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Autoscaler parseFrom(InputStream input) throws IOException
IOExceptionpublic static Autoscaler parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Autoscaler parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Autoscaler parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Autoscaler parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Autoscaler parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Autoscaler.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Autoscaler.Builder newBuilder()
public static Autoscaler.Builder newBuilder(Autoscaler prototype)
public Autoscaler.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Autoscaler.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Autoscaler getDefaultInstance()
public static com.google.protobuf.Parser<Autoscaler> parser()
public com.google.protobuf.Parser<Autoscaler> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Autoscaler getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.