Interface FeatureOrBuilder

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

    public interface FeatureOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Output only. The full, unique name of this Feature resource in the format
         `projects/*/locations/*/features/*`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. The full, unique name of this Feature resource in the format
         `projects/*/locations/*/features/*`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for name.
      • getLabelsCount

        int getLabelsCount()
         GCP labels for this Feature.
         
        map<string, string> labels = 2;
      • containsLabels

        boolean containsLabels​(String key)
         GCP labels for this Feature.
         
        map<string, string> labels = 2;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         GCP labels for this Feature.
         
        map<string, string> labels = 2;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         GCP labels for this Feature.
         
        map<string, string> labels = 2;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         GCP labels for this Feature.
         
        map<string, string> labels = 2;
      • hasResourceState

        boolean hasResourceState()
         Output only. State of the Feature resource itself.
         
        .google.cloud.gkehub.v1alpha.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the resourceState field is set.
      • getResourceState

        FeatureResourceState getResourceState()
         Output only. State of the Feature resource itself.
         
        .google.cloud.gkehub.v1alpha.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The resourceState.
      • getResourceStateOrBuilder

        FeatureResourceStateOrBuilder getResourceStateOrBuilder()
         Output only. State of the Feature resource itself.
         
        .google.cloud.gkehub.v1alpha.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasSpec

        boolean hasSpec()
         Optional. Hub-wide Feature configuration. If this Feature does not support any
         Hub-wide configuration, this field may be unused.
         
        .google.cloud.gkehub.v1alpha.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the spec field is set.
      • getSpec

        CommonFeatureSpec getSpec()
         Optional. Hub-wide Feature configuration. If this Feature does not support any
         Hub-wide configuration, this field may be unused.
         
        .google.cloud.gkehub.v1alpha.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The spec.
      • getSpecOrBuilder

        CommonFeatureSpecOrBuilder getSpecOrBuilder()
         Optional. Hub-wide Feature configuration. If this Feature does not support any
         Hub-wide configuration, this field may be unused.
         
        .google.cloud.gkehub.v1alpha.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getMembershipSpecsCount

        int getMembershipSpecsCount()
         Optional. Membership-specific configuration for this Feature. If this Feature does
         not support any per-Membership configuration, this field may be unused.
        
         The keys indicate which Membership the configuration is for, in the form:
        
             projects/{p}/locations/{l}/memberships/{m}
        
         Where {p} is the project, {l} is a valid location and {m} is a valid
         Membership in this project at that location. {p} WILL match the Feature's
         project.
        
         {p} will always be returned as the project number, but the project ID is
         also accepted during input. If the same Membership is specified in the map
         twice (using the project ID form, and the project number form), exactly
         ONE of the entries will be saved, with no guarantees as to which. For this
         reason, it is recommended the same format be used for all entries when
         mutating a Feature.
         
        map<string, .google.cloud.gkehub.v1alpha.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
      • containsMembershipSpecs

        boolean containsMembershipSpecs​(String key)
         Optional. Membership-specific configuration for this Feature. If this Feature does
         not support any per-Membership configuration, this field may be unused.
        
         The keys indicate which Membership the configuration is for, in the form:
        
             projects/{p}/locations/{l}/memberships/{m}
        
         Where {p} is the project, {l} is a valid location and {m} is a valid
         Membership in this project at that location. {p} WILL match the Feature's
         project.
        
         {p} will always be returned as the project number, but the project ID is
         also accepted during input. If the same Membership is specified in the map
         twice (using the project ID form, and the project number form), exactly
         ONE of the entries will be saved, with no guarantees as to which. For this
         reason, it is recommended the same format be used for all entries when
         mutating a Feature.
         
        map<string, .google.cloud.gkehub.v1alpha.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getMembershipSpecsMap

        Map<String,​MembershipFeatureSpec> getMembershipSpecsMap()
         Optional. Membership-specific configuration for this Feature. If this Feature does
         not support any per-Membership configuration, this field may be unused.
        
         The keys indicate which Membership the configuration is for, in the form:
        
             projects/{p}/locations/{l}/memberships/{m}
        
         Where {p} is the project, {l} is a valid location and {m} is a valid
         Membership in this project at that location. {p} WILL match the Feature's
         project.
        
         {p} will always be returned as the project number, but the project ID is
         also accepted during input. If the same Membership is specified in the map
         twice (using the project ID form, and the project number form), exactly
         ONE of the entries will be saved, with no guarantees as to which. For this
         reason, it is recommended the same format be used for all entries when
         mutating a Feature.
         
        map<string, .google.cloud.gkehub.v1alpha.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getMembershipSpecsOrDefault

        MembershipFeatureSpec getMembershipSpecsOrDefault​(String key,
                                                          MembershipFeatureSpec defaultValue)
         Optional. Membership-specific configuration for this Feature. If this Feature does
         not support any per-Membership configuration, this field may be unused.
        
         The keys indicate which Membership the configuration is for, in the form:
        
             projects/{p}/locations/{l}/memberships/{m}
        
         Where {p} is the project, {l} is a valid location and {m} is a valid
         Membership in this project at that location. {p} WILL match the Feature's
         project.
        
         {p} will always be returned as the project number, but the project ID is
         also accepted during input. If the same Membership is specified in the map
         twice (using the project ID form, and the project number form), exactly
         ONE of the entries will be saved, with no guarantees as to which. For this
         reason, it is recommended the same format be used for all entries when
         mutating a Feature.
         
        map<string, .google.cloud.gkehub.v1alpha.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getMembershipSpecsOrThrow

        MembershipFeatureSpec getMembershipSpecsOrThrow​(String key)
         Optional. Membership-specific configuration for this Feature. If this Feature does
         not support any per-Membership configuration, this field may be unused.
        
         The keys indicate which Membership the configuration is for, in the form:
        
             projects/{p}/locations/{l}/memberships/{m}
        
         Where {p} is the project, {l} is a valid location and {m} is a valid
         Membership in this project at that location. {p} WILL match the Feature's
         project.
        
         {p} will always be returned as the project number, but the project ID is
         also accepted during input. If the same Membership is specified in the map
         twice (using the project ID form, and the project number form), exactly
         ONE of the entries will be saved, with no guarantees as to which. For this
         reason, it is recommended the same format be used for all entries when
         mutating a Feature.
         
        map<string, .google.cloud.gkehub.v1alpha.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
      • hasState

        boolean hasState()
         Output only. The Hub-wide Feature state.
         
        .google.cloud.gkehub.v1alpha.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the state field is set.
      • getState

        CommonFeatureState getState()
         Output only. The Hub-wide Feature state.
         
        .google.cloud.gkehub.v1alpha.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.
      • getStateOrBuilder

        CommonFeatureStateOrBuilder getStateOrBuilder()
         Output only. The Hub-wide Feature state.
         
        .google.cloud.gkehub.v1alpha.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMembershipStatesCount

        int getMembershipStatesCount()
         Output only. Membership-specific Feature status. If this Feature does
         report any per-Membership status, this field may be unused.
        
         The keys indicate which Membership the state is for, in the form:
        
             projects/{p}/locations/{l}/memberships/{m}
        
         Where {p} is the project number, {l} is a valid location and {m} is a valid
         Membership in this project at that location. {p} MUST match the Feature's
         project number.
         
        map<string, .google.cloud.gkehub.v1alpha.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • containsMembershipStates

        boolean containsMembershipStates​(String key)
         Output only. Membership-specific Feature status. If this Feature does
         report any per-Membership status, this field may be unused.
        
         The keys indicate which Membership the state is for, in the form:
        
             projects/{p}/locations/{l}/memberships/{m}
        
         Where {p} is the project number, {l} is a valid location and {m} is a valid
         Membership in this project at that location. {p} MUST match the Feature's
         project number.
         
        map<string, .google.cloud.gkehub.v1alpha.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMembershipStatesMap

        Map<String,​MembershipFeatureState> getMembershipStatesMap()
         Output only. Membership-specific Feature status. If this Feature does
         report any per-Membership status, this field may be unused.
        
         The keys indicate which Membership the state is for, in the form:
        
             projects/{p}/locations/{l}/memberships/{m}
        
         Where {p} is the project number, {l} is a valid location and {m} is a valid
         Membership in this project at that location. {p} MUST match the Feature's
         project number.
         
        map<string, .google.cloud.gkehub.v1alpha.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMembershipStatesOrDefault

        MembershipFeatureState getMembershipStatesOrDefault​(String key,
                                                            MembershipFeatureState defaultValue)
         Output only. Membership-specific Feature status. If this Feature does
         report any per-Membership status, this field may be unused.
        
         The keys indicate which Membership the state is for, in the form:
        
             projects/{p}/locations/{l}/memberships/{m}
        
         Where {p} is the project number, {l} is a valid location and {m} is a valid
         Membership in this project at that location. {p} MUST match the Feature's
         project number.
         
        map<string, .google.cloud.gkehub.v1alpha.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMembershipStatesOrThrow

        MembershipFeatureState getMembershipStatesOrThrow​(String key)
         Output only. Membership-specific Feature status. If this Feature does
         report any per-Membership status, this field may be unused.
        
         The keys indicate which Membership the state is for, in the form:
        
             projects/{p}/locations/{l}/memberships/{m}
        
         Where {p} is the project number, {l} is a valid location and {m} is a valid
         Membership in this project at that location. {p} MUST match the Feature's
         project number.
         
        map<string, .google.cloud.gkehub.v1alpha.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasCreateTime

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

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

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

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

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

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

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

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

        com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
         Output only. When the Feature resource was deleted.
         
        .google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];