Package com.google.cloud.compute.v1
Class Autoscaler.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
- com.google.cloud.compute.v1.Autoscaler.Builder
-
- All Implemented Interfaces:
AutoscalerOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Autoscaler
public static final class Autoscaler.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder> 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 typegoogle.cloud.compute.v1.Autoscaler
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Autoscaler.Builder
addAllStatusDetails(Iterable<? extends AutoscalerStatusDetails> values)
[Output Only] Human-readable details about the current state of the autoscaler.Autoscaler.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Autoscaler.Builder
addStatusDetails(int index, AutoscalerStatusDetails value)
[Output Only] Human-readable details about the current state of the autoscaler.Autoscaler.Builder
addStatusDetails(int index, AutoscalerStatusDetails.Builder builderForValue)
[Output Only] Human-readable details about the current state of the autoscaler.Autoscaler.Builder
addStatusDetails(AutoscalerStatusDetails value)
[Output Only] Human-readable details about the current state of the autoscaler.Autoscaler.Builder
addStatusDetails(AutoscalerStatusDetails.Builder builderForValue)
[Output Only] Human-readable details about the current state of the autoscaler.AutoscalerStatusDetails.Builder
addStatusDetailsBuilder()
[Output Only] Human-readable details about the current state of the autoscaler.AutoscalerStatusDetails.Builder
addStatusDetailsBuilder(int index)
[Output Only] Human-readable details about the current state of the autoscaler.Autoscaler
build()
Autoscaler
buildPartial()
Autoscaler.Builder
clear()
Autoscaler.Builder
clearAutoscalingPolicy()
The configuration parameters for the autoscaling algorithm.Autoscaler.Builder
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.Autoscaler.Builder
clearDescription()
An optional description of this resource.Autoscaler.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Autoscaler.Builder
clearId()
[Output Only] The unique identifier for the resource.Autoscaler.Builder
clearKind()
[Output Only] Type of the resource.Autoscaler.Builder
clearName()
Name of the resource.Autoscaler.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Autoscaler.Builder
clearRecommendedSize()
[Output Only] Target recommended MIG size (number of instances) computed by autoscaler.Autoscaler.Builder
clearRegion()
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).Autoscaler.Builder
clearScalingScheduleStatus()
Autoscaler.Builder
clearSelfLink()
[Output Only] Server-defined URL for the resource.Autoscaler.Builder
clearStatus()
[Output Only] The status of the autoscaler configuration.Autoscaler.Builder
clearStatusDetails()
[Output Only] Human-readable details about the current state of the autoscaler.Autoscaler.Builder
clearTarget()
URL of the managed instance group that this autoscaler will scale.Autoscaler.Builder
clearZone()
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).Autoscaler.Builder
clone()
boolean
containsScalingScheduleStatus(String key)
[Output Only] Status information of existing scaling schedules.AutoscalingPolicy
getAutoscalingPolicy()
The configuration parameters for the autoscaling algorithm.AutoscalingPolicy.Builder
getAutoscalingPolicyBuilder()
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.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()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.Map<String,ScalingScheduleStatus>
getMutableScalingScheduleStatus()
Deprecated.String
getName()
Name of the resource.com.google.protobuf.ByteString
getNameBytes()
Name of the resource.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.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.AutoscalerStatusDetails.Builder
getStatusDetailsBuilder(int index)
[Output Only] Human-readable details about the current state of the autoscaler.List<AutoscalerStatusDetails.Builder>
getStatusDetailsBuilderList()
[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.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.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)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Autoscaler.Builder
mergeAutoscalingPolicy(AutoscalingPolicy value)
The configuration parameters for the autoscaling algorithm.Autoscaler.Builder
mergeFrom(Autoscaler other)
Autoscaler.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Autoscaler.Builder
mergeFrom(com.google.protobuf.Message other)
Autoscaler.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Autoscaler.Builder
putAllScalingScheduleStatus(Map<String,ScalingScheduleStatus> values)
[Output Only] Status information of existing scaling schedules.Autoscaler.Builder
putScalingScheduleStatus(String key, ScalingScheduleStatus value)
[Output Only] Status information of existing scaling schedules.Autoscaler.Builder
removeScalingScheduleStatus(String key)
[Output Only] Status information of existing scaling schedules.Autoscaler.Builder
removeStatusDetails(int index)
[Output Only] Human-readable details about the current state of the autoscaler.Autoscaler.Builder
setAutoscalingPolicy(AutoscalingPolicy value)
The configuration parameters for the autoscaling algorithm.Autoscaler.Builder
setAutoscalingPolicy(AutoscalingPolicy.Builder builderForValue)
The configuration parameters for the autoscaling algorithm.Autoscaler.Builder
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.Autoscaler.Builder
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.Autoscaler.Builder
setDescription(String value)
An optional description of this resource.Autoscaler.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.Autoscaler.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Autoscaler.Builder
setId(long value)
[Output Only] The unique identifier for the resource.Autoscaler.Builder
setKind(String value)
[Output Only] Type of the resource.Autoscaler.Builder
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.Autoscaler.Builder
setName(String value)
Name of the resource.Autoscaler.Builder
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.Autoscaler.Builder
setRecommendedSize(int value)
[Output Only] Target recommended MIG size (number of instances) computed by autoscaler.Autoscaler.Builder
setRegion(String value)
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).Autoscaler.Builder
setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).Autoscaler.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Autoscaler.Builder
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.Autoscaler.Builder
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.Autoscaler.Builder
setStatus(String value)
[Output Only] The status of the autoscaler configuration.Autoscaler.Builder
setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The status of the autoscaler configuration.Autoscaler.Builder
setStatusDetails(int index, AutoscalerStatusDetails value)
[Output Only] Human-readable details about the current state of the autoscaler.Autoscaler.Builder
setStatusDetails(int index, AutoscalerStatusDetails.Builder builderForValue)
[Output Only] Human-readable details about the current state of the autoscaler.Autoscaler.Builder
setTarget(String value)
URL of the managed instance group that this autoscaler will scale.Autoscaler.Builder
setTargetBytes(com.google.protobuf.ByteString value)
URL of the managed instance group that this autoscaler will scale.Autoscaler.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Autoscaler.Builder
setZone(String value)
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).Autoscaler.Builder
setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
clear
public Autoscaler.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
getDefaultInstanceForType
public Autoscaler getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Autoscaler build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Autoscaler buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Autoscaler.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
setField
public Autoscaler.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
clearField
public Autoscaler.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
clearOneof
public Autoscaler.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
setRepeatedField
public Autoscaler.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
addRepeatedField
public Autoscaler.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
mergeFrom
public Autoscaler.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Autoscaler.Builder>
-
mergeFrom
public Autoscaler.Builder mergeFrom(Autoscaler other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
mergeFrom
public Autoscaler.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Autoscaler.Builder>
- Throws:
IOException
-
hasAutoscalingPolicy
public 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;
- Specified by:
hasAutoscalingPolicy
in interfaceAutoscalerOrBuilder
- Returns:
- Whether the autoscalingPolicy field is set.
-
getAutoscalingPolicy
public 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;
- Specified by:
getAutoscalingPolicy
in interfaceAutoscalerOrBuilder
- Returns:
- The autoscalingPolicy.
-
setAutoscalingPolicy
public Autoscaler.Builder setAutoscalingPolicy(AutoscalingPolicy value)
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;
-
setAutoscalingPolicy
public Autoscaler.Builder setAutoscalingPolicy(AutoscalingPolicy.Builder builderForValue)
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;
-
mergeAutoscalingPolicy
public Autoscaler.Builder mergeAutoscalingPolicy(AutoscalingPolicy value)
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;
-
clearAutoscalingPolicy
public Autoscaler.Builder clearAutoscalingPolicy()
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;
-
getAutoscalingPolicyBuilder
public AutoscalingPolicy.Builder getAutoscalingPolicyBuilder()
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
public 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;
- Specified by:
getAutoscalingPolicyOrBuilder
in interfaceAutoscalerOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
hasCreationTimestamp
in interfaceAutoscalerOrBuilder
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
getCreationTimestamp
in interfaceAutoscalerOrBuilder
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
getCreationTimestampBytes
in interfaceAutoscalerOrBuilder
- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public Autoscaler.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Parameters:
value
- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public Autoscaler.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public Autoscaler.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Parameters:
value
- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
hasDescription
in interfaceAutoscalerOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
getDescription
in interfaceAutoscalerOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
getDescriptionBytes
in interfaceAutoscalerOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Autoscaler.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Autoscaler.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Autoscaler.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Specified by:
hasId
in interfaceAutoscalerOrBuilder
- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Specified by:
getId
in interfaceAutoscalerOrBuilder
- Returns:
- The id.
-
setId
public Autoscaler.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Autoscaler.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
optional string kind = 3292052;
- Specified by:
hasKind
in interfaceAutoscalerOrBuilder
- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
optional string kind = 3292052;
- Specified by:
getKind
in interfaceAutoscalerOrBuilder
- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
optional string kind = 3292052;
- Specified by:
getKindBytes
in interfaceAutoscalerOrBuilder
- Returns:
- The bytes for kind.
-
setKind
public Autoscaler.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
optional string kind = 3292052;
- Parameters:
value
- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public Autoscaler.Builder clearKind()
[Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
optional string kind = 3292052;
- Returns:
- This builder for chaining.
-
setKindBytes
public Autoscaler.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
optional string kind = 3292052;
- Parameters:
value
- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasName
public 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;
- Specified by:
hasName
in interfaceAutoscalerOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public 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;
- Specified by:
getName
in interfaceAutoscalerOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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;
- Specified by:
getNameBytes
in interfaceAutoscalerOrBuilder
- Returns:
- The bytes for name.
-
setName
public Autoscaler.Builder setName(String value)
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;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Autoscaler.Builder clearName()
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;
- Returns:
- This builder for chaining.
-
setNameBytes
public Autoscaler.Builder setNameBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasRecommendedSize
public 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;
- Specified by:
hasRecommendedSize
in interfaceAutoscalerOrBuilder
- Returns:
- Whether the recommendedSize field is set.
-
getRecommendedSize
public 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;
- Specified by:
getRecommendedSize
in interfaceAutoscalerOrBuilder
- Returns:
- The recommendedSize.
-
setRecommendedSize
public Autoscaler.Builder setRecommendedSize(int value)
[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;
- Parameters:
value
- The recommendedSize to set.- Returns:
- This builder for chaining.
-
clearRecommendedSize
public Autoscaler.Builder clearRecommendedSize()
[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;
- Returns:
- This builder for chaining.
-
hasRegion
public boolean hasRegion()
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).
optional string region = 138946292;
- Specified by:
hasRegion
in interfaceAutoscalerOrBuilder
- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).
optional string region = 138946292;
- Specified by:
getRegion
in interfaceAutoscalerOrBuilder
- Returns:
- The region.
-
getRegionBytes
public 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;
- Specified by:
getRegionBytes
in interfaceAutoscalerOrBuilder
- Returns:
- The bytes for region.
-
setRegion
public Autoscaler.Builder setRegion(String value)
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).
optional string region = 138946292;
- Parameters:
value
- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public Autoscaler.Builder clearRegion()
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).
optional string region = 138946292;
- Returns:
- This builder for chaining.
-
setRegionBytes
public Autoscaler.Builder setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).
optional string region = 138946292;
- Parameters:
value
- The bytes for region to set.- Returns:
- This builder for chaining.
-
getScalingScheduleStatusCount
public int getScalingScheduleStatusCount()
Description copied from interface:AutoscalerOrBuilder
[Output Only] Status information of existing scaling schedules.
map<string, .google.cloud.compute.v1.ScalingScheduleStatus> scaling_schedule_status = 465950178;
- Specified by:
getScalingScheduleStatusCount
in interfaceAutoscalerOrBuilder
-
containsScalingScheduleStatus
public boolean containsScalingScheduleStatus(String key)
[Output Only] Status information of existing scaling schedules.
map<string, .google.cloud.compute.v1.ScalingScheduleStatus> scaling_schedule_status = 465950178;
- Specified by:
containsScalingScheduleStatus
in interfaceAutoscalerOrBuilder
-
getScalingScheduleStatus
@Deprecated public Map<String,ScalingScheduleStatus> getScalingScheduleStatus()
Deprecated.UsegetScalingScheduleStatusMap()
instead.- Specified by:
getScalingScheduleStatus
in interfaceAutoscalerOrBuilder
-
getScalingScheduleStatusMap
public Map<String,ScalingScheduleStatus> getScalingScheduleStatusMap()
[Output Only] Status information of existing scaling schedules.
map<string, .google.cloud.compute.v1.ScalingScheduleStatus> scaling_schedule_status = 465950178;
- Specified by:
getScalingScheduleStatusMap
in interfaceAutoscalerOrBuilder
-
getScalingScheduleStatusOrDefault
public 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;
- Specified by:
getScalingScheduleStatusOrDefault
in interfaceAutoscalerOrBuilder
-
getScalingScheduleStatusOrThrow
public ScalingScheduleStatus getScalingScheduleStatusOrThrow(String key)
[Output Only] Status information of existing scaling schedules.
map<string, .google.cloud.compute.v1.ScalingScheduleStatus> scaling_schedule_status = 465950178;
- Specified by:
getScalingScheduleStatusOrThrow
in interfaceAutoscalerOrBuilder
-
clearScalingScheduleStatus
public Autoscaler.Builder clearScalingScheduleStatus()
-
removeScalingScheduleStatus
public Autoscaler.Builder removeScalingScheduleStatus(String key)
[Output Only] Status information of existing scaling schedules.
map<string, .google.cloud.compute.v1.ScalingScheduleStatus> scaling_schedule_status = 465950178;
-
getMutableScalingScheduleStatus
@Deprecated public Map<String,ScalingScheduleStatus> getMutableScalingScheduleStatus()
Deprecated.Use alternate mutation accessors instead.
-
putScalingScheduleStatus
public Autoscaler.Builder putScalingScheduleStatus(String key, ScalingScheduleStatus value)
[Output Only] Status information of existing scaling schedules.
map<string, .google.cloud.compute.v1.ScalingScheduleStatus> scaling_schedule_status = 465950178;
-
putAllScalingScheduleStatus
public Autoscaler.Builder putAllScalingScheduleStatus(Map<String,ScalingScheduleStatus> values)
[Output Only] Status information of existing scaling schedules.
map<string, .google.cloud.compute.v1.ScalingScheduleStatus> scaling_schedule_status = 465950178;
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
hasSelfLink
in interfaceAutoscalerOrBuilder
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
getSelfLink
in interfaceAutoscalerOrBuilder
- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
getSelfLinkBytes
in interfaceAutoscalerOrBuilder
- Returns:
- The bytes for selfLink.
-
setSelfLink
public Autoscaler.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Parameters:
value
- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public Autoscaler.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public Autoscaler.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Parameters:
value
- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasStatus
public 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;
- Specified by:
hasStatus
in interfaceAutoscalerOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public 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;
- Specified by:
getStatus
in interfaceAutoscalerOrBuilder
- Returns:
- The status.
-
getStatusBytes
public 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;
- Specified by:
getStatusBytes
in interfaceAutoscalerOrBuilder
- Returns:
- The bytes for status.
-
setStatus
public Autoscaler.Builder setStatus(String value)
[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;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public Autoscaler.Builder clearStatus()
[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;
- Returns:
- This builder for chaining.
-
setStatusBytes
public Autoscaler.Builder setStatusBytes(com.google.protobuf.ByteString value)
[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;
- Parameters:
value
- The bytes for status to set.- Returns:
- This builder for chaining.
-
getStatusDetailsList
public 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;
- Specified by:
getStatusDetailsList
in interfaceAutoscalerOrBuilder
-
getStatusDetailsCount
public 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;
- Specified by:
getStatusDetailsCount
in interfaceAutoscalerOrBuilder
-
getStatusDetails
public 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;
- Specified by:
getStatusDetails
in interfaceAutoscalerOrBuilder
-
setStatusDetails
public Autoscaler.Builder setStatusDetails(int index, AutoscalerStatusDetails value)
[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;
-
setStatusDetails
public Autoscaler.Builder setStatusDetails(int index, AutoscalerStatusDetails.Builder builderForValue)
[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;
-
addStatusDetails
public Autoscaler.Builder addStatusDetails(AutoscalerStatusDetails value)
[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;
-
addStatusDetails
public Autoscaler.Builder addStatusDetails(int index, AutoscalerStatusDetails value)
[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;
-
addStatusDetails
public Autoscaler.Builder addStatusDetails(AutoscalerStatusDetails.Builder builderForValue)
[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;
-
addStatusDetails
public Autoscaler.Builder addStatusDetails(int index, AutoscalerStatusDetails.Builder builderForValue)
[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;
-
addAllStatusDetails
public Autoscaler.Builder addAllStatusDetails(Iterable<? extends AutoscalerStatusDetails> values)
[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;
-
clearStatusDetails
public Autoscaler.Builder clearStatusDetails()
[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;
-
removeStatusDetails
public Autoscaler.Builder removeStatusDetails(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;
-
getStatusDetailsBuilder
public AutoscalerStatusDetails.Builder getStatusDetailsBuilder(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
public 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;
- Specified by:
getStatusDetailsOrBuilder
in interfaceAutoscalerOrBuilder
-
getStatusDetailsOrBuilderList
public 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;
- Specified by:
getStatusDetailsOrBuilderList
in interfaceAutoscalerOrBuilder
-
addStatusDetailsBuilder
public AutoscalerStatusDetails.Builder addStatusDetailsBuilder()
[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;
-
addStatusDetailsBuilder
public AutoscalerStatusDetails.Builder addStatusDetailsBuilder(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;
-
getStatusDetailsBuilderList
public List<AutoscalerStatusDetails.Builder> getStatusDetailsBuilderList()
[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;
-
hasTarget
public 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;
- Specified by:
hasTarget
in interfaceAutoscalerOrBuilder
- Returns:
- Whether the target field is set.
-
getTarget
public 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;
- Specified by:
getTarget
in interfaceAutoscalerOrBuilder
- Returns:
- The target.
-
getTargetBytes
public 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;
- Specified by:
getTargetBytes
in interfaceAutoscalerOrBuilder
- Returns:
- The bytes for target.
-
setTarget
public Autoscaler.Builder setTarget(String value)
URL of the managed instance group that this autoscaler will scale. This field is required when creating an autoscaler.
optional string target = 192835985;
- Parameters:
value
- The target to set.- Returns:
- This builder for chaining.
-
clearTarget
public Autoscaler.Builder clearTarget()
URL of the managed instance group that this autoscaler will scale. This field is required when creating an autoscaler.
optional string target = 192835985;
- Returns:
- This builder for chaining.
-
setTargetBytes
public Autoscaler.Builder setTargetBytes(com.google.protobuf.ByteString value)
URL of the managed instance group that this autoscaler will scale. This field is required when creating an autoscaler.
optional string target = 192835985;
- Parameters:
value
- The bytes for target to set.- Returns:
- This builder for chaining.
-
hasZone
public boolean hasZone()
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).
optional string zone = 3744684;
- Specified by:
hasZone
in interfaceAutoscalerOrBuilder
- Returns:
- Whether the zone field is set.
-
getZone
public String getZone()
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).
optional string zone = 3744684;
- Specified by:
getZone
in interfaceAutoscalerOrBuilder
- Returns:
- The zone.
-
getZoneBytes
public 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;
- Specified by:
getZoneBytes
in interfaceAutoscalerOrBuilder
- Returns:
- The bytes for zone.
-
setZone
public Autoscaler.Builder setZone(String value)
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).
optional string zone = 3744684;
- Parameters:
value
- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
public Autoscaler.Builder clearZone()
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).
optional string zone = 3744684;
- Returns:
- This builder for chaining.
-
setZoneBytes
public Autoscaler.Builder setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).
optional string zone = 3744684;
- Parameters:
value
- The bytes for zone to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Autoscaler.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
mergeUnknownFields
public final Autoscaler.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Autoscaler.Builder>
-
-