public interface ExistingInstancesOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)Optional. Immutable. Labels specifying the instances to include. Instances from the source will be included only if they contain each of these labels. If no labels are specified, all instances from the source will be included. Example: {"env": "prod", "app": "worker"}
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getInstanceGroupManager()
public abstract String getInstanceGroupManager() Optional. Immutable. Managed instance group containing the instances, in
the format
projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}.
string instance_group_manager = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The instanceGroupManager. |
getInstanceGroupManagerBytes()
public abstract ByteString getInstanceGroupManagerBytes() Optional. Immutable. Managed instance group containing the instances, in
the format
projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}.
string instance_group_manager = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instanceGroupManager. |
getLabels() (deprecated)
public abstract Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public abstract int getLabelsCount()Optional. Immutable. Labels specifying the instances to include. Instances from the source will be included only if they contain each of these labels. If no labels are specified, all instances from the source will be included. Example: {"env": "prod", "app": "worker"}
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public abstract Map<String,String> getLabelsMap()Optional. Immutable. Labels specifying the instances to include. Instances from the source will be included only if they contain each of these labels. If no labels are specified, all instances from the source will be included. Example: {"env": "prod", "app": "worker"}
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)Optional. Immutable. Labels specifying the instances to include. Instances from the source will be included only if they contain each of these labels. If no labels are specified, all instances from the source will be included. Example: {"env": "prod", "app": "worker"}
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)Optional. Immutable. Labels specifying the instances to include. Instances from the source will be included only if they contain each of these labels. If no labels are specified, all instances from the source will be included. Example: {"env": "prod", "app": "worker"}
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getNetworks(int index)
public abstract NetworkReference getNetworks(int index)Output only. Networks stores the list of VPC networks attached to these existing instances, discovered during the cluster creation and update.
repeated .google.cloud.hypercomputecluster.v1beta.NetworkReference networks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NetworkReference |
|
getNetworksCount()
public abstract int getNetworksCount()Output only. Networks stores the list of VPC networks attached to these existing instances, discovered during the cluster creation and update.
repeated .google.cloud.hypercomputecluster.v1beta.NetworkReference networks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getNetworksList()
public abstract List<NetworkReference> getNetworksList()Output only. Networks stores the list of VPC networks attached to these existing instances, discovered during the cluster creation and update.
repeated .google.cloud.hypercomputecluster.v1beta.NetworkReference networks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<NetworkReference> |
|
getNetworksOrBuilder(int index)
public abstract NetworkReferenceOrBuilder getNetworksOrBuilder(int index)Output only. Networks stores the list of VPC networks attached to these existing instances, discovered during the cluster creation and update.
repeated .google.cloud.hypercomputecluster.v1beta.NetworkReference networks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NetworkReferenceOrBuilder |
|
getNetworksOrBuilderList()
public abstract List<? extends NetworkReferenceOrBuilder> getNetworksOrBuilderList()Output only. Networks stores the list of VPC networks attached to these existing instances, discovered during the cluster creation and update.
repeated .google.cloud.hypercomputecluster.v1beta.NetworkReference networks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.hypercomputecluster.v1beta.NetworkReferenceOrBuilder> |
|
getProject()
public abstract String getProject() Optional. Immutable. Project containing the instances, in the format
projects/{project}.
string project = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public abstract ByteString getProjectBytes() Optional. Immutable. Project containing the instances, in the format
projects/{project}.
string project = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getRegionInstanceGroupManager()
public abstract String getRegionInstanceGroupManager() Optional. Immutable. Regional managed instance group containing the
instances, in the format
projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}.
string region_instance_group_manager = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The regionInstanceGroupManager. |
getRegionInstanceGroupManagerBytes()
public abstract ByteString getRegionInstanceGroupManagerBytes() Optional. Immutable. Regional managed instance group containing the
instances, in the format
projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}.
string region_instance_group_manager = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for regionInstanceGroupManager. |
getReservation()
public abstract String getReservation() Optional. Immutable. Reservation containing the instances, in the format
projects/{project}/zones/{zone}/reservations/{reservation}.
string reservation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The reservation. |
getReservationBlock()
public abstract String getReservationBlock() Optional. Immutable. Reservation block containing the instances, in the
format
projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}.
string reservation_block = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The reservationBlock. |
getReservationBlockBytes()
public abstract ByteString getReservationBlockBytes() Optional. Immutable. Reservation block containing the instances, in the
format
projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}.
string reservation_block = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reservationBlock. |
getReservationBytes()
public abstract ByteString getReservationBytes() Optional. Immutable. Reservation containing the instances, in the format
projects/{project}/zones/{zone}/reservations/{reservation}.
string reservation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reservation. |
getReservationSubBlock()
public abstract String getReservationSubBlock() Optional. Immutable. Reservation sub block containing the instances, in
the format
projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/reservationSubBlocks/{reservationSubBlock}.
string reservation_sub_block = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The reservationSubBlock. |
getReservationSubBlockBytes()
public abstract ByteString getReservationSubBlockBytes() Optional. Immutable. Reservation sub block containing the instances, in
the format
projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/reservationSubBlocks/{reservationSubBlock}.
string reservation_sub_block = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reservationSubBlock. |
getSourceCase()
public abstract ExistingInstances.SourceCase getSourceCase()| Returns | |
|---|---|
| Type | Description |
ExistingInstances.SourceCase |
|
hasInstanceGroupManager()
public abstract boolean hasInstanceGroupManager() Optional. Immutable. Managed instance group containing the instances, in
the format
projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}.
string instance_group_manager = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the instanceGroupManager field is set. |
hasProject()
public abstract boolean hasProject() Optional. Immutable. Project containing the instances, in the format
projects/{project}.
string project = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the project field is set. |
hasRegionInstanceGroupManager()
public abstract boolean hasRegionInstanceGroupManager() Optional. Immutable. Regional managed instance group containing the
instances, in the format
projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}.
string region_instance_group_manager = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the regionInstanceGroupManager field is set. |
hasReservation()
public abstract boolean hasReservation() Optional. Immutable. Reservation containing the instances, in the format
projects/{project}/zones/{zone}/reservations/{reservation}.
string reservation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reservation field is set. |
hasReservationBlock()
public abstract boolean hasReservationBlock() Optional. Immutable. Reservation block containing the instances, in the
format
projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}.
string reservation_block = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reservationBlock field is set. |
hasReservationSubBlock()
public abstract boolean hasReservationSubBlock() Optional. Immutable. Reservation sub block containing the instances, in
the format
projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/reservationSubBlocks/{reservationSubBlock}.
string reservation_sub_block = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reservationSubBlock field is set. |