Interface MembershipStateOrBuilder

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

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

    • getComponentStatesCount

      int getComponentStatesCount()
       Currently these include (also serving as map keys):
       1. "admission"
       2. "audit"
       3. "mutation"
       
      map<string, .google.cloud.gkehub.policycontroller.v1beta.OnClusterState> component_states = 3;
    • containsComponentStates

      boolean containsComponentStates(String key)
       Currently these include (also serving as map keys):
       1. "admission"
       2. "audit"
       3. "mutation"
       
      map<string, .google.cloud.gkehub.policycontroller.v1beta.OnClusterState> component_states = 3;
    • getComponentStates

      @Deprecated Map<String,OnClusterState> getComponentStates()
      Deprecated.
    • getComponentStatesMap

      Map<String,OnClusterState> getComponentStatesMap()
       Currently these include (also serving as map keys):
       1. "admission"
       2. "audit"
       3. "mutation"
       
      map<string, .google.cloud.gkehub.policycontroller.v1beta.OnClusterState> component_states = 3;
    • getComponentStatesOrDefault

      OnClusterState getComponentStatesOrDefault(String key, OnClusterState defaultValue)
       Currently these include (also serving as map keys):
       1. "admission"
       2. "audit"
       3. "mutation"
       
      map<string, .google.cloud.gkehub.policycontroller.v1beta.OnClusterState> component_states = 3;
    • getComponentStatesOrThrow

      OnClusterState getComponentStatesOrThrow(String key)
       Currently these include (also serving as map keys):
       1. "admission"
       2. "audit"
       3. "mutation"
       
      map<string, .google.cloud.gkehub.policycontroller.v1beta.OnClusterState> component_states = 3;
    • getStateValue

      int getStateValue()
       The overall Policy Controller lifecycle state observed by the Hub Feature
       controller.
       
      .google.cloud.gkehub.policycontroller.v1beta.MembershipState.LifecycleState state = 4;
      Returns:
      The enum numeric value on the wire for state.
    • getState

       The overall Policy Controller lifecycle state observed by the Hub Feature
       controller.
       
      .google.cloud.gkehub.policycontroller.v1beta.MembershipState.LifecycleState state = 4;
      Returns:
      The state.
    • hasPolicyContentState

      boolean hasPolicyContentState()
       The overall content state observed by the Hub Feature controller.
       
      .google.cloud.gkehub.policycontroller.v1beta.PolicyContentState policy_content_state = 6;
      Returns:
      Whether the policyContentState field is set.
    • getPolicyContentState

      PolicyContentState getPolicyContentState()
       The overall content state observed by the Hub Feature controller.
       
      .google.cloud.gkehub.policycontroller.v1beta.PolicyContentState policy_content_state = 6;
      Returns:
      The policyContentState.
    • getPolicyContentStateOrBuilder

      PolicyContentStateOrBuilder getPolicyContentStateOrBuilder()
       The overall content state observed by the Hub Feature controller.
       
      .google.cloud.gkehub.policycontroller.v1beta.PolicyContentState policy_content_state = 6;