Class PolicyContentState

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkehub.policycontroller.v1beta.PolicyContentState
All Implemented Interfaces:
PolicyContentStateOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class PolicyContentState extends com.google.protobuf.GeneratedMessage implements PolicyContentStateOrBuilder
 The state of the policy controller policy content
 
Protobuf type google.cloud.gkehub.policycontroller.v1beta.PolicyContentState
See Also:
  • Field Details

    • TEMPLATE_LIBRARY_STATE_FIELD_NUMBER

      public static final int TEMPLATE_LIBRARY_STATE_FIELD_NUMBER
      See Also:
    • BUNDLE_STATES_FIELD_NUMBER

      public static final int BUNDLE_STATES_FIELD_NUMBER
      See Also:
    • REFERENTIAL_SYNC_CONFIG_STATE_FIELD_NUMBER

      public static final int REFERENTIAL_SYNC_CONFIG_STATE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasTemplateLibraryState

      public boolean hasTemplateLibraryState()
       The state of the template library
       
      .google.cloud.gkehub.policycontroller.v1beta.OnClusterState template_library_state = 1;
      Specified by:
      hasTemplateLibraryState in interface PolicyContentStateOrBuilder
      Returns:
      Whether the templateLibraryState field is set.
    • getTemplateLibraryState

      public OnClusterState getTemplateLibraryState()
       The state of the template library
       
      .google.cloud.gkehub.policycontroller.v1beta.OnClusterState template_library_state = 1;
      Specified by:
      getTemplateLibraryState in interface PolicyContentStateOrBuilder
      Returns:
      The templateLibraryState.
    • getTemplateLibraryStateOrBuilder

      public OnClusterStateOrBuilder getTemplateLibraryStateOrBuilder()
       The state of the template library
       
      .google.cloud.gkehub.policycontroller.v1beta.OnClusterState template_library_state = 1;
      Specified by:
      getTemplateLibraryStateOrBuilder in interface PolicyContentStateOrBuilder
    • getBundleStatesCount

      public int getBundleStatesCount()
      Description copied from interface: PolicyContentStateOrBuilder
       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;
      Specified by:
      getBundleStatesCount in interface PolicyContentStateOrBuilder
    • containsBundleStates

      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;
      Specified by:
      containsBundleStates in interface PolicyContentStateOrBuilder
    • getBundleStates

      @Deprecated public Map<String,OnClusterState> getBundleStates()
      Deprecated.
      Specified by:
      getBundleStates in interface PolicyContentStateOrBuilder
    • 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;
      Specified by:
      getBundleStatesMap in interface PolicyContentStateOrBuilder
    • getBundleStatesOrDefault

      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;
      Specified by:
      getBundleStatesOrDefault in interface PolicyContentStateOrBuilder
    • getBundleStatesOrThrow

      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;
      Specified by:
      getBundleStatesOrThrow in interface PolicyContentStateOrBuilder
    • 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;
      Specified by:
      hasReferentialSyncConfigState in interface PolicyContentStateOrBuilder
      Returns:
      Whether the referentialSyncConfigState field is set.
    • 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;
      Specified by:
      getReferentialSyncConfigState in interface PolicyContentStateOrBuilder
      Returns:
      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;
      Specified by:
      getReferentialSyncConfigStateOrBuilder in interface PolicyContentStateOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PolicyContentState parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyContentState parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyContentState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyContentState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyContentState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyContentState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyContentState parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PolicyContentState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PolicyContentState parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PolicyContentState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PolicyContentState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PolicyContentState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PolicyContentState.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PolicyContentState.Builder newBuilder()
    • newBuilder

      public static PolicyContentState.Builder newBuilder(PolicyContentState prototype)
    • toBuilder

      public PolicyContentState.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PolicyContentState.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PolicyContentState getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PolicyContentState> parser()
    • getParserForType

      public com.google.protobuf.Parser<PolicyContentState> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PolicyContentState getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder