Interface FleetPackageOrBuilder (0.1.0)

public interface FleetPackageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Optional. Labels are attributes that can be set and used by both the user and by Config Delivery. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Time at which the FleetPackage was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time at which the FleetPackage was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDeletionPropagationPolicy()

public abstract DeletionPropagationPolicy getDeletionPropagationPolicy()

Optional. Information around how to handle kubernetes resources at the target clusters when the FleetPackage is deleted.

.google.cloud.configdelivery.v1beta.DeletionPropagationPolicy deletion_propagation_policy = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeletionPropagationPolicy

The deletionPropagationPolicy.

getDeletionPropagationPolicyValue()

public abstract int getDeletionPropagationPolicyValue()

Optional. Information around how to handle kubernetes resources at the target clusters when the FleetPackage is deleted.

.google.cloud.configdelivery.v1beta.DeletionPropagationPolicy deletion_propagation_policy = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for deletionPropagationPolicy.

getInfo()

public abstract FleetPackageInfo getInfo()

Output only. Information containing the rollout status of the FleetPackage across all the target clusters.

.google.cloud.configdelivery.v1beta.FleetPackageInfo info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FleetPackageInfo

The info.

getInfoOrBuilder()

public abstract FleetPackageInfoOrBuilder getInfoOrBuilder()

Output only. Information containing the rollout status of the FleetPackage across all the target clusters.

.google.cloud.configdelivery.v1beta.FleetPackageInfo info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FleetPackageInfoOrBuilder

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. Labels are attributes that can be set and used by both the user and by Config Delivery. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Optional. Labels are attributes that can be set and used by both the user and by Config Delivery. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels are attributes that can be set and used by both the user and by Config Delivery. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Optional. Labels are attributes that can be set and used by both the user and by Config Delivery. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Identifier. Name of the FleetPackage. Format is projects/{project}/locations/{location}/fleetPackages/{fleetPackage}. The fleetPackage component must match a-z{0,62}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Name of the FleetPackage. Format is projects/{project}/locations/{location}/fleetPackages/{fleetPackage}. The fleetPackage component must match a-z{0,62}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getResourceBundleSelector()

public abstract FleetPackage.ResourceBundleSelector getResourceBundleSelector()

Required. Information specifying the source of kubernetes configuration to deploy.

.google.cloud.configdelivery.v1beta.FleetPackage.ResourceBundleSelector resource_bundle_selector = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FleetPackage.ResourceBundleSelector

The resourceBundleSelector.

getResourceBundleSelectorOrBuilder()

public abstract FleetPackage.ResourceBundleSelectorOrBuilder getResourceBundleSelectorOrBuilder()

Required. Information specifying the source of kubernetes configuration to deploy.

.google.cloud.configdelivery.v1beta.FleetPackage.ResourceBundleSelector resource_bundle_selector = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FleetPackage.ResourceBundleSelectorOrBuilder

getRolloutStrategy()

public abstract RolloutStrategy getRolloutStrategy()

Optional. The strategy to use to deploy kubernetes configuration to clusters.

.google.cloud.configdelivery.v1beta.RolloutStrategy rollout_strategy = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RolloutStrategy

The rolloutStrategy.

getRolloutStrategyOrBuilder()

public abstract RolloutStrategyOrBuilder getRolloutStrategyOrBuilder()

Optional. The strategy to use to deploy kubernetes configuration to clusters.

.google.cloud.configdelivery.v1beta.RolloutStrategy rollout_strategy = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RolloutStrategyOrBuilder

getState()

public abstract FleetPackage.State getState()

Optional. The desired state of the fleet package.

.google.cloud.configdelivery.v1beta.FleetPackage.State state = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FleetPackage.State

The state.

getStateValue()

public abstract int getStateValue()

Optional. The desired state of the fleet package.

.google.cloud.configdelivery.v1beta.FleetPackage.State state = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTarget()

public abstract FleetPackage.Target getTarget()

Optional. Configuration to select target clusters to deploy kubernetes configuration to.

.google.cloud.configdelivery.v1beta.FleetPackage.Target target = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FleetPackage.Target

The target.

getTargetOrBuilder()

public abstract FleetPackage.TargetOrBuilder getTargetOrBuilder()

Optional. Configuration to select target clusters to deploy kubernetes configuration to.

.google.cloud.configdelivery.v1beta.FleetPackage.Target target = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FleetPackage.TargetOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Most recent time at which the FleetPackage was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Most recent time at which the FleetPackage was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getVariantSelector()

public abstract FleetPackage.VariantSelector getVariantSelector()

Required. Information specifying how to map a ResourceBundle variant to a target cluster.

.google.cloud.configdelivery.v1beta.FleetPackage.VariantSelector variant_selector = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FleetPackage.VariantSelector

The variantSelector.

getVariantSelectorOrBuilder()

public abstract FleetPackage.VariantSelectorOrBuilder getVariantSelectorOrBuilder()

Required. Information specifying how to map a ResourceBundle variant to a target cluster.

.google.cloud.configdelivery.v1beta.FleetPackage.VariantSelector variant_selector = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FleetPackage.VariantSelectorOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Time at which the FleetPackage was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasInfo()

public abstract boolean hasInfo()

Output only. Information containing the rollout status of the FleetPackage across all the target clusters.

.google.cloud.configdelivery.v1beta.FleetPackageInfo info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the info field is set.

hasResourceBundleSelector()

public abstract boolean hasResourceBundleSelector()

Required. Information specifying the source of kubernetes configuration to deploy.

.google.cloud.configdelivery.v1beta.FleetPackage.ResourceBundleSelector resource_bundle_selector = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the resourceBundleSelector field is set.

hasRolloutStrategy()

public abstract boolean hasRolloutStrategy()

Optional. The strategy to use to deploy kubernetes configuration to clusters.

.google.cloud.configdelivery.v1beta.RolloutStrategy rollout_strategy = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rolloutStrategy field is set.

hasTarget()

public abstract boolean hasTarget()

Optional. Configuration to select target clusters to deploy kubernetes configuration to.

.google.cloud.configdelivery.v1beta.FleetPackage.Target target = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the target field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Most recent time at which the FleetPackage was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hasVariantSelector()

public abstract boolean hasVariantSelector()

Required. Information specifying how to map a ResourceBundle variant to a target cluster.

.google.cloud.configdelivery.v1beta.FleetPackage.VariantSelector variant_selector = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the variantSelector field is set.