Interface InstanceGroupOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
InstanceGroup, InstanceGroup.Builder

@Generated public interface InstanceGroupOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasCreationTimestamp

      boolean hasCreationTimestamp()
       Output only. [Output Only] The creation timestamp for this instance group inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      String getCreationTimestamp()
       Output only. [Output Only] The creation timestamp for this instance group inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] The creation timestamp for this instance group inRFC3339
       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. [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. [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. [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. [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. [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. [Output Only] The resource type, which is alwayscompute#instanceGroup for instance groups.
       
      optional string kind = 3292052;
      Returns:
      Whether the kind field is set.
    • getKind

      String getKind()
       Output only. [Output Only] The resource type, which is alwayscompute#instanceGroup for instance groups.
       
      optional string kind = 3292052;
      Returns:
      The kind.
    • getKindBytes

      com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] The resource type, which is alwayscompute#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 withRFC1035.
       
      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 withRFC1035.
       
      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 withRFC1035.
       
      optional string name = 3373707;
      Returns:
      The bytes for name.
    • getNamedPortsList

      List<NamedPort> getNamedPortsList()
       Optional. 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)
       Optional. 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()
       Optional. 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()
       Optional. 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)
       Optional. 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. [Output Only] The URL of theregion
       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. [Output Only] The URL of theregion
       where the instance group is located (for regional resources).
       
      optional string region = 138946292;
      Returns:
      The region.
    • getRegionBytes

      com.google.protobuf.ByteString getRegionBytes()
       Output only. [Output Only] The URL of theregion
       where the instance group is located (for regional resources).
       
      optional string region = 138946292;
      Returns:
      The bytes for region.
    • hasSelfLink

      boolean hasSelfLink()
       Output only. [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. [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. [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. [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. [Output Only] The total number of instances in the instance group.
       
      optional int32 size = 3530753;
      Returns:
      The size.
    • hasSubnetwork

      boolean hasSubnetwork()
       Output only. [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. [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. [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. [Output Only] The URL of thezone
       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. [Output Only] The URL of thezone
       where the instance group is located (for zonal resources).
       
      optional string zone = 3744684;
      Returns:
      The zone.
    • getZoneBytes

      com.google.protobuf.ByteString getZoneBytes()
       Output only. [Output Only] The URL of thezone
       where the instance group is located (for zonal resources).
       
      optional string zone = 3744684;
      Returns:
      The bytes for zone.