Class PolicyContentState (1.76.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.76.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  PolicyContentState   extends   GeneratedMessageV3   implements   PolicyContentStateOrBuilder  
   The state of the policy controller policy content
 Protobuf type google.cloud.gkehub.policycontroller.v1beta.PolicyContentState
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  BUNDLE_STATES_FIELD_NUMBER 
  
    
public   static   final   int   BUNDLE_STATES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  REFERENTIAL_SYNC_CONFIG_STATE_FIELD_NUMBER 
  
    
public   static   final   int   REFERENTIAL_SYNC_CONFIG_STATE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  TEMPLATE_LIBRARY_STATE_FIELD_NUMBER 
  
    
public   static   final   int   TEMPLATE_LIBRARY_STATE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   PolicyContentState   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   PolicyContentState . Builder   newBuilder ()  
  
  newBuilder(PolicyContentState prototype) 
  
    
public   static   PolicyContentState . Builder   newBuilder ( PolicyContentState   prototype )  
  
  
  parseDelimitedFrom(InputStream input) 
  
    
public   static   PolicyContentState   parseDelimitedFrom ( InputStream   input )  
  
  
  
  parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PolicyContentState   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   PolicyContentState   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PolicyContentState   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   PolicyContentState   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PolicyContentState   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(CodedInputStream input) 
  
    
public   static   PolicyContentState   parseFrom ( CodedInputStream   input )  
  
  
  
  parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PolicyContentState   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(InputStream input) 
  
    
public   static   PolicyContentState   parseFrom ( InputStream   input )  
  
  
  
  parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PolicyContentState   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   PolicyContentState   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PolicyContentState   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<PolicyContentState>   parser ()  
  
  Methods
   
  containsBundleStates(String key) 
  
    
public   boolean   containsBundleStates ( String   key )  
   The state of the any bundles included in the chosen
 version of the manifest
 
 map<string, .google.cloud.gkehub.policycontroller.v1beta.OnClusterState> bundle_states = 2;
 
    
      
        Parameter  
      
        Name Description  
      
        keyString  
     
  
  
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getBundleStates() (deprecated) 
  
    
public   Map<String , OnClusterState >  getBundleStates ()  
  
  
  getBundleStatesCount() 
  
    
public   int   getBundleStatesCount ()  
   The state of the any bundles included in the chosen
 version of the manifest
 
 map<string, .google.cloud.gkehub.policycontroller.v1beta.OnClusterState> bundle_states = 2;
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getBundleStatesMap() 
  
    
public   Map<String , OnClusterState >  getBundleStatesMap ()  
   The state of the any bundles included in the chosen
 version of the manifest
 
 map<string, .google.cloud.gkehub.policycontroller.v1beta.OnClusterState> bundle_states = 2;
 
getBundleStatesOrDefault(String key, OnClusterState defaultValue) 
  
    
public   OnClusterState   getBundleStatesOrDefault ( String   key ,   OnClusterState   defaultValue )  
   The state of the any bundles included in the chosen
 version of the manifest
 
 map<string, .google.cloud.gkehub.policycontroller.v1beta.OnClusterState> bundle_states = 2;
 
getBundleStatesOrThrow(String key) 
  
    
public   OnClusterState   getBundleStatesOrThrow ( String   key )  
   The state of the any bundles included in the chosen
 version of the manifest
 
 map<string, .google.cloud.gkehub.policycontroller.v1beta.OnClusterState> bundle_states = 2;
 
    
      
        Parameter  
      
        Name Description  
      
        keyString  
     
  
  
  getDefaultInstanceForType() 
  
    
public   PolicyContentState   getDefaultInstanceForType ()  
  
  getParserForType() 
  
    
public   Parser<PolicyContentState>   getParserForType ()  
  
  Overrides 
  
  getReferentialSyncConfigState() 
  
    
public   OnClusterState   getReferentialSyncConfigState ()  
   The state of the referential data sync configuration.  This could
 represent the state of either the syncSet object(s) or the config
 object, depending on the version of PoCo configured by the user.
 
 .google.cloud.gkehub.policycontroller.v1beta.OnClusterState referential_sync_config_state = 3;
 
    
      
        Returns  
      
        Type Description  
      
        OnClusterState The referentialSyncConfigState.
 
     
  
  getReferentialSyncConfigStateOrBuilder() 
  
    
public   OnClusterStateOrBuilder   getReferentialSyncConfigStateOrBuilder ()  
   The state of the referential data sync configuration.  This could
 represent the state of either the syncSet object(s) or the config
 object, depending on the version of PoCo configured by the user.
 
 .google.cloud.gkehub.policycontroller.v1beta.OnClusterState referential_sync_config_state = 3;
 
getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getTemplateLibraryState() 
  
    
public   OnClusterState   getTemplateLibraryState ()  
   The state of the template library
 .google.cloud.gkehub.policycontroller.v1beta.OnClusterState template_library_state = 1;
 
getTemplateLibraryStateOrBuilder() 
  
    
public   OnClusterStateOrBuilder   getTemplateLibraryStateOrBuilder ()  
   The state of the template library
 .google.cloud.gkehub.policycontroller.v1beta.OnClusterState template_library_state = 1;
 
hasReferentialSyncConfigState() 
  
    
public   boolean   hasReferentialSyncConfigState ()  
   The state of the referential data sync configuration.  This could
 represent the state of either the syncSet object(s) or the config
 object, depending on the version of PoCo configured by the user.
 
 .google.cloud.gkehub.policycontroller.v1beta.OnClusterState referential_sync_config_state = 3;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the referentialSyncConfigState field is set.
 
     
  
  hasTemplateLibraryState() 
  
    
public   boolean   hasTemplateLibraryState ()  
   The state of the template library
 .google.cloud.gkehub.policycontroller.v1beta.OnClusterState template_library_state = 1;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the templateLibraryState field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  internalGetMapFieldReflection(int number) 
  
    
protected   MapFieldReflectionAccessor   internalGetMapFieldReflection ( int   number )  
  
    
      
        Parameter  
      
        Name Description  
      
        numberint  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.protobuf.MapFieldReflectionAccessor  
     
  
  Overrides 
  com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   PolicyContentState . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   PolicyContentState . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   PolicyContentState . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]