Interface FleetPackageOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FleetPackage, FleetPackage.Builder

@Generated public interface FleetPackageOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Identifier. Name of the `FleetPackage`. Format is
       `projects/{project}/locations/{location}/fleetPackages/{fleetPackage}`.
       The `fleetPackage` component must match
       `[a-z][a-z0-9\-]{0,62}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of the `FleetPackage`. Format is
       `projects/{project}/locations/{location}/fleetPackages/{fleetPackage}`.
       The `fleetPackage` component must match
       `[a-z][a-z0-9\-]{0,62}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Time at which the `FleetPackage` was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Time at which the `FleetPackage` was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time at which the `FleetPackage` was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      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:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.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:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.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];
    • getLabelsCount

      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];
    • containsLabels

      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];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      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];
    • getLabelsOrDefault

      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];
    • getLabelsOrThrow

      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];
    • hasResourceBundleSelector

      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:
      Whether the resourceBundleSelector field is set.
    • getResourceBundleSelector

      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:
      The resourceBundleSelector.
    • getResourceBundleSelectorOrBuilder

      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];
    • hasTarget

      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:
      Whether the target field is set.
    • getTarget

      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:
      The target.
    • getTargetOrBuilder

      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];
    • hasRolloutStrategy

      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:
      Whether the rolloutStrategy field is set.
    • getRolloutStrategy

      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:
      The rolloutStrategy.
    • getRolloutStrategyOrBuilder

      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];
    • hasVariantSelector

      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:
      Whether the variantSelector field is set.
    • getVariantSelector

      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:
      The variantSelector.
    • getVariantSelectorOrBuilder

      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];
    • hasInfo

      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:
      Whether the info field is set.
    • getInfo

      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:
      The info.
    • getInfoOrBuilder

      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];
    • getDeletionPropagationPolicyValue

      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:
      The enum numeric value on the wire for deletionPropagationPolicy.
    • getDeletionPropagationPolicy

      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:
      The deletionPropagationPolicy.
    • getStateValue

      int getStateValue()
       Optional. The desired state of the fleet package.
       
      .google.cloud.configdelivery.v1beta.FleetPackage.State state = 16 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for state.
    • getState

      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:
      The state.