public final class InstanceGroupManagerVersion extends GeneratedMessage implements InstanceGroupManagerVersionOrBuilder
Protobuf type google.cloud.compute.v1.InstanceGroupManagerVersion
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
INSTANCE_TEMPLATE_FIELD_NUMBER
public static final int INSTANCE_TEMPLATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TARGET_SIZE_FIELD_NUMBER
public static final int TARGET_SIZE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static InstanceGroupManagerVersion getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InstanceGroupManagerVersion.Builder newBuilder()
newBuilder(InstanceGroupManagerVersion prototype)
public static InstanceGroupManagerVersion.Builder newBuilder(InstanceGroupManagerVersion prototype)
public static InstanceGroupManagerVersion parseDelimitedFrom(InputStream input)
public static InstanceGroupManagerVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InstanceGroupManagerVersion parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InstanceGroupManagerVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InstanceGroupManagerVersion parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InstanceGroupManagerVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InstanceGroupManagerVersion parseFrom(CodedInputStream input)
public static InstanceGroupManagerVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InstanceGroupManagerVersion parseFrom(InputStream input)
public static InstanceGroupManagerVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InstanceGroupManagerVersion parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InstanceGroupManagerVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InstanceGroupManagerVersion> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public InstanceGroupManagerVersion getDefaultInstanceForType()
getInstanceTemplate()
public String getInstanceTemplate()
The URL of the instance template that is specified for this managed
instance group. The group uses this template to create new instances in
the managed instance group until the targetSize for this version is
reached. The templates for existing instances in the group do not change
unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE; in those cases,
existing instances are updated until the targetSize for this version is
reached.
optional string instance_template = 309248228;
| Returns |
| Type |
Description |
String |
The instanceTemplate.
|
getInstanceTemplateBytes()
public ByteString getInstanceTemplateBytes()
The URL of the instance template that is specified for this managed
instance group. The group uses this template to create new instances in
the managed instance group until the targetSize for this version is
reached. The templates for existing instances in the group do not change
unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE; in those cases,
existing instances are updated until the targetSize for this version is
reached.
optional string instance_template = 309248228;
| Returns |
| Type |
Description |
ByteString |
The bytes for instanceTemplate.
|
getName()
Name of the version. Unique among all versions in the scope of this
managed instance group.
optional string name = 3373707;
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Name of the version. Unique among all versions in the scope of this
managed instance group.
optional string name = 3373707;
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<InstanceGroupManagerVersion> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTargetSize()
public FixedOrPercent getTargetSize()
Specifies the intended number of instances to be created from theinstanceTemplate. The final number of instances created
from the template will be equal to:
- If expressed as a fixed number, the minimum of either
targetSize.fixed or
instanceGroupManager.targetSize is used.
if expressed as a percent, the targetSize
would be (targetSize.percent/100 *
InstanceGroupManager.targetSize) If there is a remainder, the
number is rounded.
If unset, this version will update any remaining instances not
updated by another version. ReadStarting
a canary update for more information.
optional .google.cloud.compute.v1.FixedOrPercent target_size = 62880239;
getTargetSizeOrBuilder()
public FixedOrPercentOrBuilder getTargetSizeOrBuilder()
Specifies the intended number of instances to be created from theinstanceTemplate. The final number of instances created
from the template will be equal to:
- If expressed as a fixed number, the minimum of either
targetSize.fixed or
instanceGroupManager.targetSize is used.
if expressed as a percent, the targetSize
would be (targetSize.percent/100 *
InstanceGroupManager.targetSize) If there is a remainder, the
number is rounded.
If unset, this version will update any remaining instances not
updated by another version. ReadStarting
a canary update for more information.
optional .google.cloud.compute.v1.FixedOrPercent target_size = 62880239;
hasInstanceTemplate()
public boolean hasInstanceTemplate()
The URL of the instance template that is specified for this managed
instance group. The group uses this template to create new instances in
the managed instance group until the targetSize for this version is
reached. The templates for existing instances in the group do not change
unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE; in those cases,
existing instances are updated until the targetSize for this version is
reached.
optional string instance_template = 309248228;
| Returns |
| Type |
Description |
boolean |
Whether the instanceTemplate field is set.
|
hasName()
Name of the version. Unique among all versions in the scope of this
managed instance group.
optional string name = 3373707;
| Returns |
| Type |
Description |
boolean |
Whether the name field is set.
|
hasTargetSize()
public boolean hasTargetSize()
Specifies the intended number of instances to be created from theinstanceTemplate. The final number of instances created
from the template will be equal to:
- If expressed as a fixed number, the minimum of either
targetSize.fixed or
instanceGroupManager.targetSize is used.
if expressed as a percent, the targetSize
would be (targetSize.percent/100 *
InstanceGroupManager.targetSize) If there is a remainder, the
number is rounded.
If unset, this version will update any remaining instances not
updated by another version. ReadStarting
a canary update for more information.
optional .google.cloud.compute.v1.FixedOrPercent target_size = 62880239;
| Returns |
| Type |
Description |
boolean |
Whether the targetSize field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InstanceGroupManagerVersion.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected InstanceGroupManagerVersion.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public InstanceGroupManagerVersion.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides