0.27.0 (latest) 0.25.0 0.22.0 0.21.0 0.19.0 0.17.0 0.16.0 0.15.0 0.14.0 0.12.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.4.0 0.2.0 0.1.0

    public static interface Fleet.LabelSelectorOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### containsMatchLabels(String key)

    public abstract boolean containsMatchLabels(String key)

Optional. match_labels is a map of {key,value} pairs. Each {key,value}
pair must match an existing label key and value exactly in order to
satisfy the match.

`map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getMatchLabels() (deprecated)

    public abstract Map<String,String> getMatchLabels()

Use [#getMatchLabelsMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-configdelivery/latest/com.google.cloud.configdelivery.v1beta.Fleet.LabelSelectorOrBuilder#com_google_cloud_configdelivery_v1beta_Fleet_LabelSelectorOrBuilder_getMatchLabelsMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getMatchLabelsCount()

    public abstract int getMatchLabelsCount()

Optional. match_labels is a map of {key,value} pairs. Each {key,value}
pair must match an existing label key and value exactly in order to
satisfy the match.

`map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getMatchLabelsMap()

    public abstract Map<String,String> getMatchLabelsMap()

Optional. match_labels is a map of {key,value} pairs. Each {key,value}
pair must match an existing label key and value exactly in order to
satisfy the match.

`map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getMatchLabelsOrDefault(String key, String defaultValue)

    public abstract String getMatchLabelsOrDefault(String key, String defaultValue)

Optional. match_labels is a map of {key,value} pairs. Each {key,value}
pair must match an existing label key and value exactly in order to
satisfy the match.

`map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getMatchLabelsOrThrow(String key)

    public abstract String getMatchLabelsOrThrow(String key)

Optional. match_labels is a map of {key,value} pairs. Each {key,value}
pair must match an existing label key and value exactly in order to
satisfy the match.

`map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |