Package com.google.cloud.compute.v1
Class InstanceGroup
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.InstanceGroup
-
- All Implemented Interfaces:
InstanceGroupOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class InstanceGroup extends com.google.protobuf.GeneratedMessageV3 implements InstanceGroupOrBuilder
Represents an Instance Group resource. Instance Groups can be used to configure a target for load balancing. Instance groups can either be managed or unmanaged. To create managed instance groups, use the instanceGroupManager or regionInstanceGroupManager resource instead. Use zonal unmanaged instance groups if you need to apply load balancing to groups of heterogeneous instances or if you need to manage the instances yourself. You cannot create regional unmanaged instance groups. For more information, read Instance groups.
Protobuf typegoogle.cloud.compute.v1.InstanceGroup- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstanceGroup.BuilderRepresents an Instance Group resource.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATION_TIMESTAMP_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intFINGERPRINT_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNAMED_PORTS_FIELD_NUMBERstatic intNETWORK_FIELD_NUMBERstatic intREGION_FIELD_NUMBERstatic intSELF_LINK_FIELD_NUMBERstatic intSIZE_FIELD_NUMBERstatic intSUBNETWORK_FIELD_NUMBERstatic intZONE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCreationTimestamp()[Output Only] The creation timestamp for this instance group in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] The creation timestamp for this instance group in RFC3339 text format.static InstanceGroupgetDefaultInstance()InstanceGroupgetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFingerprint()[Output Only] The fingerprint of the named ports.com.google.protobuf.ByteStringgetFingerprintBytes()[Output Only] The fingerprint of the named ports.longgetId()[Output Only] A unique identifier for this instance group, generated by the server.StringgetKind()[Output Only] The resource type, which is always compute#instanceGroup for instance groups.com.google.protobuf.ByteStringgetKindBytes()[Output Only] The resource type, which is always compute#instanceGroup for instance groups.StringgetName()The name of the instance group.com.google.protobuf.ByteStringgetNameBytes()The name of the instance group.NamedPortgetNamedPorts(int index)Assigns a name to a port number.intgetNamedPortsCount()Assigns a name to a port number.List<NamedPort>getNamedPortsList()Assigns a name to a port number.NamedPortOrBuildergetNamedPortsOrBuilder(int index)Assigns a name to a port number.List<? extends NamedPortOrBuilder>getNamedPortsOrBuilderList()Assigns a name to a port number.StringgetNetwork()[Output Only] The URL of the network to which all instances in the instance group belong.com.google.protobuf.ByteStringgetNetworkBytes()[Output Only] The URL of the network to which all instances in the instance group belong.com.google.protobuf.Parser<InstanceGroup>getParserForType()StringgetRegion()[Output Only] The URL of the region where the instance group is located (for regional resources).com.google.protobuf.ByteStringgetRegionBytes()[Output Only] The URL of the region where the instance group is located (for regional resources).StringgetSelfLink()[Output Only] The URL for this instance group.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] The URL for this instance group.intgetSerializedSize()intgetSize()[Output Only] The total number of instances in the instance group.StringgetSubnetwork()[Output Only] The URL of the subnetwork to which all instances in the instance group belong.com.google.protobuf.ByteStringgetSubnetworkBytes()[Output Only] The URL of the subnetwork to which all instances in the instance group belong.StringgetZone()[Output Only] The URL of the zone where the instance group is located (for zonal resources).com.google.protobuf.ByteStringgetZoneBytes()[Output Only] The URL of the zone where the instance group is located (for zonal resources).booleanhasCreationTimestamp()[Output Only] The creation timestamp for this instance group in RFC3339 text format.booleanhasDescription()An optional description of this resource.booleanhasFingerprint()[Output Only] The fingerprint of the named ports.inthashCode()booleanhasId()[Output Only] A unique identifier for this instance group, generated by the server.booleanhasKind()[Output Only] The resource type, which is always compute#instanceGroup for instance groups.booleanhasName()The name of the instance group.booleanhasNetwork()[Output Only] The URL of the network to which all instances in the instance group belong.booleanhasRegion()[Output Only] The URL of the region where the instance group is located (for regional resources).booleanhasSelfLink()[Output Only] The URL for this instance group.booleanhasSize()[Output Only] The total number of instances in the instance group.booleanhasSubnetwork()[Output Only] The URL of the subnetwork to which all instances in the instance group belong.booleanhasZone()[Output Only] The URL of the zone where the instance group is located (for zonal resources).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static InstanceGroup.BuildernewBuilder()static InstanceGroup.BuildernewBuilder(InstanceGroup prototype)InstanceGroup.BuildernewBuilderForType()protected InstanceGroup.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static InstanceGroupparseDelimitedFrom(InputStream input)static InstanceGroupparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceGroupparseFrom(byte[] data)static InstanceGroupparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceGroupparseFrom(com.google.protobuf.ByteString data)static InstanceGroupparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceGroupparseFrom(com.google.protobuf.CodedInputStream input)static InstanceGroupparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceGroupparseFrom(InputStream input)static InstanceGroupparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceGroupparseFrom(ByteBuffer data)static InstanceGroupparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<InstanceGroup>parser()InstanceGroup.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAMED_PORTS_FIELD_NUMBER
public static final int NAMED_PORTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SIZE_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] The creation timestamp for this instance group in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceInstanceGroupOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] The creation timestamp for this instance group in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceInstanceGroupOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] The creation timestamp for this instance group in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceInstanceGroupOrBuilder- Returns:
- The bytes for creationTimestamp.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceInstanceGroupOrBuilder- 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:
getDescriptionin interfaceInstanceGroupOrBuilder- 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:
getDescriptionBytesin interfaceInstanceGroupOrBuilder- Returns:
- The bytes for description.
-
hasFingerprint
public boolean hasFingerprint()
[Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently.
optional string fingerprint = 234678500;- Specified by:
hasFingerprintin interfaceInstanceGroupOrBuilder- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
public String getFingerprint()
[Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently.
optional string fingerprint = 234678500;- Specified by:
getFingerprintin interfaceInstanceGroupOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()
[Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently.
optional string fingerprint = 234678500;- Specified by:
getFingerprintBytesin interfaceInstanceGroupOrBuilder- Returns:
- The bytes for fingerprint.
-
hasId
public boolean hasId()
[Output Only] A unique identifier for this instance group, generated by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceInstanceGroupOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] A unique identifier for this instance group, generated by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceInstanceGroupOrBuilder- Returns:
- The id.
-
hasKind
public boolean hasKind()
[Output Only] The resource type, which is always compute#instanceGroup for instance groups.
optional string kind = 3292052;- Specified by:
hasKindin interfaceInstanceGroupOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] The resource type, which is always compute#instanceGroup for instance groups.
optional string kind = 3292052;- Specified by:
getKindin interfaceInstanceGroupOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] The resource type, which is always compute#instanceGroup for instance groups.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceInstanceGroupOrBuilder- Returns:
- The bytes for kind.
-
hasName
public boolean hasName()
The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.
optional string name = 3373707;- Specified by:
hasNamein interfaceInstanceGroupOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.
optional string name = 3373707;- Specified by:
getNamein interfaceInstanceGroupOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceInstanceGroupOrBuilder- Returns:
- The bytes for name.
-
getNamedPortsList
public List<NamedPort> getNamedPortsList()
Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsListin interfaceInstanceGroupOrBuilder
-
getNamedPortsOrBuilderList
public List<? extends NamedPortOrBuilder> getNamedPortsOrBuilderList()
Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsOrBuilderListin interfaceInstanceGroupOrBuilder
-
getNamedPortsCount
public int getNamedPortsCount()
Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsCountin interfaceInstanceGroupOrBuilder
-
getNamedPorts
public NamedPort getNamedPorts(int index)
Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsin interfaceInstanceGroupOrBuilder
-
getNamedPortsOrBuilder
public NamedPortOrBuilder getNamedPortsOrBuilder(int index)
Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsOrBuilderin interfaceInstanceGroupOrBuilder
-
hasNetwork
public boolean hasNetwork()
[Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).
optional string network = 232872494;- Specified by:
hasNetworkin interfaceInstanceGroupOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
public String getNetwork()
[Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).
optional string network = 232872494;- Specified by:
getNetworkin interfaceInstanceGroupOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
[Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).
optional string network = 232872494;- Specified by:
getNetworkBytesin interfaceInstanceGroupOrBuilder- Returns:
- The bytes for network.
-
hasRegion
public boolean hasRegion()
[Output Only] The URL of the region where the instance group is located (for regional resources).
optional string region = 138946292;- Specified by:
hasRegionin interfaceInstanceGroupOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
[Output Only] The URL of the region where the instance group is located (for regional resources).
optional string region = 138946292;- Specified by:
getRegionin interfaceInstanceGroupOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
[Output Only] The URL of the region where the instance group is located (for regional resources).
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceInstanceGroupOrBuilder- Returns:
- The bytes for region.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] The URL for this instance group. The server generates this URL.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceInstanceGroupOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] The URL for this instance group. The server generates this URL.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceInstanceGroupOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] The URL for this instance group. The server generates this URL.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceInstanceGroupOrBuilder- Returns:
- The bytes for selfLink.
-
hasSize
public boolean hasSize()
[Output Only] The total number of instances in the instance group.
optional int32 size = 3530753;- Specified by:
hasSizein interfaceInstanceGroupOrBuilder- Returns:
- Whether the size field is set.
-
getSize
public int getSize()
[Output Only] The total number of instances in the instance group.
optional int32 size = 3530753;- Specified by:
getSizein interfaceInstanceGroupOrBuilder- Returns:
- The size.
-
hasSubnetwork
public boolean hasSubnetwork()
[Output Only] The URL of the subnetwork to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).
optional string subnetwork = 307827694;- Specified by:
hasSubnetworkin interfaceInstanceGroupOrBuilder- Returns:
- Whether the subnetwork field is set.
-
getSubnetwork
public String getSubnetwork()
[Output Only] The URL of the subnetwork to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).
optional string subnetwork = 307827694;- Specified by:
getSubnetworkin interfaceInstanceGroupOrBuilder- Returns:
- The subnetwork.
-
getSubnetworkBytes
public com.google.protobuf.ByteString getSubnetworkBytes()
[Output Only] The URL of the subnetwork to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).
optional string subnetwork = 307827694;- Specified by:
getSubnetworkBytesin interfaceInstanceGroupOrBuilder- Returns:
- The bytes for subnetwork.
-
hasZone
public boolean hasZone()
[Output Only] The URL of the zone where the instance group is located (for zonal resources).
optional string zone = 3744684;- Specified by:
hasZonein interfaceInstanceGroupOrBuilder- Returns:
- Whether the zone field is set.
-
getZone
public String getZone()
[Output Only] The URL of the zone where the instance group is located (for zonal resources).
optional string zone = 3744684;- Specified by:
getZonein interfaceInstanceGroupOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
[Output Only] The URL of the zone where the instance group is located (for zonal resources).
optional string zone = 3744684;- Specified by:
getZoneBytesin interfaceInstanceGroupOrBuilder- Returns:
- The bytes for zone.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InstanceGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceGroup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceGroup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceGroup parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static InstanceGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static InstanceGroup parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static InstanceGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static InstanceGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static InstanceGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public InstanceGroup.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static InstanceGroup.Builder newBuilder()
-
newBuilder
public static InstanceGroup.Builder newBuilder(InstanceGroup prototype)
-
toBuilder
public InstanceGroup.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InstanceGroup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static InstanceGroup getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<InstanceGroup> parser()
-
getParserForType
public com.google.protobuf.Parser<InstanceGroup> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public InstanceGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-