Class InstanceGroupManagerInstanceFlexibilityPolicy (1.64.0)

public final class InstanceGroupManagerInstanceFlexibilityPolicy extends GeneratedMessageV3 implements InstanceGroupManagerInstanceFlexibilityPolicyOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InstanceGroupManagerInstanceFlexibilityPolicy

Static Fields

INSTANCE_SELECTIONS_FIELD_NUMBER

public static final int INSTANCE_SELECTIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InstanceGroupManagerInstanceFlexibilityPolicy getDefaultInstance()
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static InstanceGroupManagerInstanceFlexibilityPolicy.Builder newBuilder()
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy.Builder

newBuilder(InstanceGroupManagerInstanceFlexibilityPolicy prototype)

public static InstanceGroupManagerInstanceFlexibilityPolicy.Builder newBuilder(InstanceGroupManagerInstanceFlexibilityPolicy prototype)
Parameter
Name Description
prototype InstanceGroupManagerInstanceFlexibilityPolicy
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy.Builder

parseDelimitedFrom(InputStream input)

public static InstanceGroupManagerInstanceFlexibilityPolicy parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagerInstanceFlexibilityPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InstanceGroupManagerInstanceFlexibilityPolicy parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagerInstanceFlexibilityPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InstanceGroupManagerInstanceFlexibilityPolicy parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagerInstanceFlexibilityPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InstanceGroupManagerInstanceFlexibilityPolicy parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagerInstanceFlexibilityPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InstanceGroupManagerInstanceFlexibilityPolicy parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagerInstanceFlexibilityPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InstanceGroupManagerInstanceFlexibilityPolicy parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagerInstanceFlexibilityPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InstanceGroupManagerInstanceFlexibilityPolicy> parser()
Returns
Type Description
Parser<InstanceGroupManagerInstanceFlexibilityPolicy>

Methods

containsInstanceSelections(String key)

public boolean containsInstanceSelections(String key)

Named instance selections configuring properties that the group will use when creating new VMs.

map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public InstanceGroupManagerInstanceFlexibilityPolicy getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy

getInstanceSelections() (deprecated)

public Map<String,InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> getInstanceSelections()
Returns
Type Description
Map<String,InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>

getInstanceSelectionsCount()

public int getInstanceSelectionsCount()

Named instance selections configuring properties that the group will use when creating new VMs.

map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;

Returns
Type Description
int

getInstanceSelectionsMap()

public Map<String,InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> getInstanceSelectionsMap()

Named instance selections configuring properties that the group will use when creating new VMs.

map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;

Returns
Type Description
Map<String,InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>

getInstanceSelectionsOrDefault(String key, InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection defaultValue)

public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection getInstanceSelectionsOrDefault(String key, InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection defaultValue)

Named instance selections configuring properties that the group will use when creating new VMs.

map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;

Parameters
Name Description
key String
defaultValue InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection

getInstanceSelectionsOrThrow(String key)

public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection getInstanceSelectionsOrThrow(String key)

Named instance selections configuring properties that the group will use when creating new VMs.

map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;

Parameter
Name Description
key String
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection

getParserForType()

public Parser<InstanceGroupManagerInstanceFlexibilityPolicy> getParserForType()
Returns
Type Description
Parser<InstanceGroupManagerInstanceFlexibilityPolicy>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InstanceGroupManagerInstanceFlexibilityPolicy.Builder newBuilderForType()
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstanceGroupManagerInstanceFlexibilityPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InstanceGroupManagerInstanceFlexibilityPolicy.Builder toBuilder()
Returns
Type Description
InstanceGroupManagerInstanceFlexibilityPolicy.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException