Package com.google.cloud.compute.v1
Interface InstanceGroupOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceGroup,InstanceGroup.Builder
public interface InstanceGroupOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.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.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.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.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).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCreationTimestamp
boolean hasCreationTimestamp()
[Output Only] The creation timestamp for this instance group in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] The creation timestamp for this instance group in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] The creation timestamp for this instance group in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDescription
boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The bytes for description.
-
hasFingerprint
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;- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
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;- Returns:
- The fingerprint.
-
getFingerprintBytes
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;- Returns:
- The bytes for fingerprint.
-
hasId
boolean hasId()
[Output Only] A unique identifier for this instance group, generated by the server.
optional uint64 id = 3355;- Returns:
- Whether the id field is set.
-
getId
long getId()
[Output Only] A unique identifier for this instance group, generated by the server.
optional uint64 id = 3355;- Returns:
- The id.
-
hasKind
boolean hasKind()
[Output Only] The resource type, which is always compute#instanceGroup for instance groups.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] The resource type, which is always compute#instanceGroup for instance groups.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] The resource type, which is always compute#instanceGroup for instance groups.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasName
boolean hasName()
The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.
optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()
The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.
optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
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;- Returns:
- The bytes for name.
-
getNamedPortsList
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;
-
getNamedPorts
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;
-
getNamedPortsCount
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;
-
getNamedPortsOrBuilderList
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;
-
getNamedPortsOrBuilder
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;
-
hasNetwork
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;- Returns:
- Whether the network field is set.
-
getNetwork
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;- Returns:
- The network.
-
getNetworkBytes
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;- Returns:
- The bytes for network.
-
hasRegion
boolean hasRegion()
[Output Only] The URL of the region where the instance group is located (for regional resources).
optional string region = 138946292;- Returns:
- Whether the region field is set.
-
getRegion
String getRegion()
[Output Only] The URL of the region where the instance group is located (for regional resources).
optional string region = 138946292;- Returns:
- The region.
-
getRegionBytes
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;- Returns:
- The bytes for region.
-
hasSelfLink
boolean hasSelfLink()
[Output Only] The URL for this instance group. The server generates this URL.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()
[Output Only] The URL for this instance group. The server generates this URL.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] The URL for this instance group. The server generates this URL.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasSize
boolean hasSize()
[Output Only] The total number of instances in the instance group.
optional int32 size = 3530753;- Returns:
- Whether the size field is set.
-
getSize
int getSize()
[Output Only] The total number of instances in the instance group.
optional int32 size = 3530753;- Returns:
- The size.
-
hasSubnetwork
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;- Returns:
- Whether the subnetwork field is set.
-
getSubnetwork
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;- Returns:
- The subnetwork.
-
getSubnetworkBytes
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;- Returns:
- The bytes for subnetwork.
-
hasZone
boolean hasZone()
[Output Only] The URL of the zone where the instance group is located (for zonal resources).
optional string zone = 3744684;- Returns:
- Whether the zone field is set.
-
getZone
String getZone()
[Output Only] The URL of the zone where the instance group is located (for zonal resources).
optional string zone = 3744684;- Returns:
- The zone.
-
getZoneBytes
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;- Returns:
- The bytes for zone.
-
-