public interface NodeGroupOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAnyLabels(int index)
public abstract String getAnyLabels(int index)Optional. A node must have at least one of these labels to be included in the group. If empty or unset, this constraint is not applied.
repeated string any_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The anyLabels at the given index. |
getAnyLabelsBytes(int index)
public abstract ByteString getAnyLabelsBytes(int index)Optional. A node must have at least one of these labels to be included in the group. If empty or unset, this constraint is not applied.
repeated string any_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the anyLabels at the given index. |
getAnyLabelsCount()
public abstract int getAnyLabelsCount()Optional. A node must have at least one of these labels to be included in the group. If empty or unset, this constraint is not applied.
repeated string any_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of anyLabels. |
getAnyLabelsList()
public abstract List<String> getAnyLabelsList()Optional. A node must have at least one of these labels to be included in the group. If empty or unset, this constraint is not applied.
repeated string any_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the anyLabels. |