Interface FleetOrBuilder

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

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

    • getName

      String getName()
       Output only. The full, unique resource name of this fleet in the format of
       `projects/{project}/locations/{location}/fleets/{fleet}`.
      
       Each Google Cloud project can have at most one fleet resource, named
       "default".
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. The full, unique resource name of this fleet in the format of
       `projects/{project}/locations/{location}/fleets/{fleet}`.
      
       Each Google Cloud project can have at most one fleet resource, named
       "default".
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for name.
    • getDisplayName

      String getDisplayName()
       Optional. A user-assigned display name of the Fleet.
       When present, it must be between 4 to 30 characters.
       Allowed characters are: lowercase and uppercase letters, numbers,
       hyphen, single-quote, double-quote, space, and exclamation point.
      
       Example: `Production Fleet`
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. A user-assigned display name of the Fleet.
       When present, it must be between 4 to 30 characters.
       Allowed characters are: lowercase and uppercase letters, numbers,
       hyphen, single-quote, double-quote, space, and exclamation point.
      
       Example: `Production Fleet`
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for displayName.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. When the Fleet was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. When the Fleet was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. When the Fleet was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. When the Fleet was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. When the Fleet was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. When the Fleet was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasDeleteTime

      boolean hasDeleteTime()
       Output only. When the Fleet was deleted.
       
      .google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the deleteTime field is set.
    • getDeleteTime

      com.google.protobuf.Timestamp getDeleteTime()
       Output only. When the Fleet was deleted.
       
      .google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The deleteTime.
    • getDeleteTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
       Output only. When the Fleet was deleted.
       
      .google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUid

      String getUid()
       Output only. Google-generated UUID for this resource. This is unique across
       all Fleet resources. If a Fleet resource is deleted and another resource
       with the same name is created, it gets a different uid.
       
      string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The uid.
    • getUidBytes

      com.google.protobuf.ByteString getUidBytes()
       Output only. Google-generated UUID for this resource. This is unique across
       all Fleet resources. If a Fleet resource is deleted and another resource
       with the same name is created, it gets a different uid.
       
      string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for uid.
    • hasState

      boolean hasState()
       Output only. State of the namespace resource.
       
      .google.cloud.gkehub.v1.FleetLifecycleState state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the state field is set.
    • getState

       Output only. State of the namespace resource.
       
      .google.cloud.gkehub.v1.FleetLifecycleState state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getStateOrBuilder

      FleetLifecycleStateOrBuilder getStateOrBuilder()
       Output only. State of the namespace resource.
       
      .google.cloud.gkehub.v1.FleetLifecycleState state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasDefaultClusterConfig

      boolean hasDefaultClusterConfig()
       Optional. The default cluster configurations to apply across the fleet.
       
      .google.cloud.gkehub.v1.DefaultClusterConfig default_cluster_config = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the defaultClusterConfig field is set.
    • getDefaultClusterConfig

      DefaultClusterConfig getDefaultClusterConfig()
       Optional. The default cluster configurations to apply across the fleet.
       
      .google.cloud.gkehub.v1.DefaultClusterConfig default_cluster_config = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The defaultClusterConfig.
    • getDefaultClusterConfigOrBuilder

      DefaultClusterConfigOrBuilder getDefaultClusterConfigOrBuilder()
       Optional. The default cluster configurations to apply across the fleet.
       
      .google.cloud.gkehub.v1.DefaultClusterConfig default_cluster_config = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsCount

      int getLabelsCount()
       Optional. Labels for this Fleet.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. Labels for this Fleet.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Labels for this Fleet.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels for this Fleet.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. Labels for this Fleet.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];