Interface PolicyContentStateOrBuilder (1.54.0)

public interface PolicyContentStateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsBundleStates(String key)

public abstract 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
key String
Returns
Type Description
boolean

getBundleStates() (deprecated)

public abstract Map<String,OnClusterState> getBundleStates()

Use #getBundleStatesMap() instead.

Returns
Type Description
Map<String,OnClusterState>

getBundleStatesCount()

public abstract 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 abstract 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;

Returns
Type Description
Map<String,OnClusterState>

getBundleStatesOrDefault(String key, OnClusterState defaultValue)

public abstract 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;

Parameters
Name Description
key String
defaultValue OnClusterState
Returns
Type Description
OnClusterState

getBundleStatesOrThrow(String key)

public abstract 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
key String
Returns
Type Description
OnClusterState

getReferentialSyncConfigState()

public abstract 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 abstract 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;

Returns
Type Description
OnClusterStateOrBuilder

getTemplateLibraryState()

public abstract OnClusterState getTemplateLibraryState()

The state of the template library

.google.cloud.gkehub.policycontroller.v1beta.OnClusterState template_library_state = 1;

Returns
Type Description
OnClusterState

The templateLibraryState.

getTemplateLibraryStateOrBuilder()

public abstract OnClusterStateOrBuilder getTemplateLibraryStateOrBuilder()

The state of the template library

.google.cloud.gkehub.policycontroller.v1beta.OnClusterState template_library_state = 1;

Returns
Type Description
OnClusterStateOrBuilder

hasReferentialSyncConfigState()

public abstract 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 abstract 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.