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 class
InstanceGroup.Builder
Represents 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 int
CREATION_TIMESTAMP_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
FINGERPRINT_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
KIND_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NAMED_PORTS_FIELD_NUMBER
static int
NETWORK_FIELD_NUMBER
static int
REGION_FIELD_NUMBER
static int
SELF_LINK_FIELD_NUMBER
static int
SIZE_FIELD_NUMBER
static int
SUBNETWORK_FIELD_NUMBER
static int
ZONE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCreationTimestamp()
[Output Only] The creation timestamp for this instance group in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] The creation timestamp for this instance group in RFC3339 text format.static InstanceGroup
getDefaultInstance()
InstanceGroup
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()
String
getFingerprint()
[Output Only] The fingerprint of the named ports.com.google.protobuf.ByteString
getFingerprintBytes()
[Output Only] The fingerprint of the named ports.long
getId()
[Output Only] A unique identifier for this instance group, generated by the server.String
getKind()
[Output Only] The resource type, which is always compute#instanceGroup for instance groups.com.google.protobuf.ByteString
getKindBytes()
[Output Only] The resource type, which is always compute#instanceGroup for instance groups.String
getName()
The name of the instance group.com.google.protobuf.ByteString
getNameBytes()
The name of the instance group.NamedPort
getNamedPorts(int index)
Assigns a name to a port number.int
getNamedPortsCount()
Assigns a name to a port number.List<NamedPort>
getNamedPortsList()
Assigns a name to a port number.NamedPortOrBuilder
getNamedPortsOrBuilder(int index)
Assigns a name to a port number.List<? extends NamedPortOrBuilder>
getNamedPortsOrBuilderList()
Assigns a name to a port number.String
getNetwork()
[Output Only] The URL of the network to which all instances in the instance group belong.com.google.protobuf.ByteString
getNetworkBytes()
[Output Only] The URL of the network to which all instances in the instance group belong.com.google.protobuf.Parser<InstanceGroup>
getParserForType()
String
getRegion()
[Output Only] The URL of the region where the instance group is located (for regional resources).com.google.protobuf.ByteString
getRegionBytes()
[Output Only] The URL of the region where the instance group is located (for regional resources).String
getSelfLink()
[Output Only] The URL for this instance group.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] The URL for this instance group.int
getSerializedSize()
int
getSize()
[Output Only] The total number of instances in the instance group.String
getSubnetwork()
[Output Only] The URL of the subnetwork to which all instances in the instance group belong.com.google.protobuf.ByteString
getSubnetworkBytes()
[Output Only] The URL of the subnetwork to which all instances in the instance group belong.String
getZone()
[Output Only] The URL of the zone where the instance group is located (for zonal resources).com.google.protobuf.ByteString
getZoneBytes()
[Output Only] The URL of the zone where the instance group is located (for zonal resources).boolean
hasCreationTimestamp()
[Output Only] The creation timestamp for this instance group in RFC3339 text format.boolean
hasDescription()
An optional description of this resource.boolean
hasFingerprint()
[Output Only] The fingerprint of the named ports.int
hashCode()
boolean
hasId()
[Output Only] A unique identifier for this instance group, generated by the server.boolean
hasKind()
[Output Only] The resource type, which is always compute#instanceGroup for instance groups.boolean
hasName()
The name of the instance group.boolean
hasNetwork()
[Output Only] The URL of the network to which all instances in the instance group belong.boolean
hasRegion()
[Output Only] The URL of the region where the instance group is located (for regional resources).boolean
hasSelfLink()
[Output Only] The URL for this instance group.boolean
hasSize()
[Output Only] The total number of instances in the instance group.boolean
hasSubnetwork()
[Output Only] The URL of the subnetwork to which all instances in the instance group belong.boolean
hasZone()
[Output Only] The URL of the zone where the instance group is located (for zonal resources).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static InstanceGroup.Builder
newBuilder()
static InstanceGroup.Builder
newBuilder(InstanceGroup prototype)
InstanceGroup.Builder
newBuilderForType()
protected InstanceGroup.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static InstanceGroup
parseDelimitedFrom(InputStream input)
static InstanceGroup
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InstanceGroup
parseFrom(byte[] data)
static InstanceGroup
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InstanceGroup
parseFrom(com.google.protobuf.ByteString data)
static InstanceGroup
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InstanceGroup
parseFrom(com.google.protobuf.CodedInputStream input)
static InstanceGroup
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InstanceGroup
parseFrom(InputStream input)
static InstanceGroup
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InstanceGroup
parseFrom(ByteBuffer data)
static InstanceGroup
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<InstanceGroup>
parser()
InstanceGroup.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
hasCreationTimestamp
in 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:
getCreationTimestamp
in 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:
getCreationTimestampBytes
in 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:
hasDescription
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
hasFingerprint
in 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:
getFingerprint
in 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:
getFingerprintBytes
in 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:
hasId
in 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:
getId
in 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:
hasKind
in 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:
getKind
in 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:
getKindBytes
in 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:
hasName
in 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:
getName
in 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:
getNameBytes
in 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:
getNamedPortsList
in 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:
getNamedPortsOrBuilderList
in 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:
getNamedPortsCount
in 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:
getNamedPorts
in 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:
getNamedPortsOrBuilder
in 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:
hasNetwork
in 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:
getNetwork
in 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:
getNetworkBytes
in 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:
hasRegion
in 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:
getRegion
in 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:
getRegionBytes
in 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:
hasSelfLink
in 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:
getSelfLink
in 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:
getSelfLinkBytes
in 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:
hasSize
in 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:
getSize
in 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:
hasSubnetwork
in 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:
getSubnetwork
in 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:
getSubnetworkBytes
in 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:
hasZone
in 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:
getZone
in 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:
getZoneBytes
in interfaceInstanceGroupOrBuilder
- Returns:
- The bytes for zone.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InstanceGroup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public InstanceGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-