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 FleetPackage.VariantSelectorOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getStrategyCase()

    public abstract FleetPackage.VariantSelector.StrategyCase getStrategyCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-configdelivery/latest/com.google.cloud.configdelivery.v1beta.FleetPackage.VariantSelector.StrategyCase` |   |

### getVariantNameTemplate()

    public abstract String getVariantNameTemplate()

Required. variant_name_template is a template that can refer to
variables containing cluster membership metadata such as location,
name, and labels to generate the name of the variant for a target
cluster. The variable syntax is similar to the unix shell variables.

Available variables are `${membership.name}`, `${membership.location}`,
`${membership.project}` and `${membership.labels['label_name']}`.

If you want to deploy a specific variant, say "default" to all the
clusters, you can use "default" (string without any variables) as
the variant_name_template.

`string variant_name_template = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### getVariantNameTemplateBytes()

    public abstract ByteString getVariantNameTemplateBytes()

Required. variant_name_template is a template that can refer to
variables containing cluster membership metadata such as location,
name, and labels to generate the name of the variant for a target
cluster. The variable syntax is similar to the unix shell variables.

Available variables are `${membership.name}`, `${membership.location}`,
`${membership.project}` and `${membership.labels['label_name']}`.

If you want to deploy a specific variant, say "default" to all the
clusters, you can use "default" (string without any variables) as
the variant_name_template.

`string variant_name_template = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for variantNameTemplate. |

### hasVariantNameTemplate()

    public abstract boolean hasVariantNameTemplate()

Required. variant_name_template is a template that can refer to
variables containing cluster membership metadata such as location,
name, and labels to generate the name of the variant for a target
cluster. The variable syntax is similar to the unix shell variables.

Available variables are `${membership.name}`, `${membership.location}`,
`${membership.project}` and `${membership.labels['label_name']}`.

If you want to deploy a specific variant, say "default" to all the
clusters, you can use "default" (string without any variables) as
the variant_name_template.

`string variant_name_template = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the variantNameTemplate field is set. |