public static final class PolicyContentState.Builder extends GeneratedMessageV3.Builder<PolicyContentState.Builder> implements PolicyContentStateOrBuilder
The state of the policy controller policy content
Protobuf type google.cloud.gkehub.policycontroller.v1beta.PolicyContentState
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PolicyContentState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PolicyContentState build()
buildPartial()
public PolicyContentState buildPartial()
clear()
public PolicyContentState.Builder clear()
Overrides
clearBundleStates()
public PolicyContentState.Builder clearBundleStates()
clearField(Descriptors.FieldDescriptor field)
public PolicyContentState.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PolicyContentState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReferentialSyncConfigState()
public PolicyContentState.Builder clearReferentialSyncConfigState()
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;
clearTemplateLibraryState()
public PolicyContentState.Builder clearTemplateLibraryState()
The state of the template library
.google.cloud.gkehub.policycontroller.v1beta.OnClusterState template_library_state = 1;
clone()
public PolicyContentState.Builder clone()
Overrides
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 |
key |
String
|
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 |
key |
String
|
getDefaultInstanceForType()
public PolicyContentState getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableBundleStates() (deprecated)
public Map<String,OnClusterState> getMutableBundleStates()
Use alternate mutation accessors instead.
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.
|
getReferentialSyncConfigStateBuilder()
public OnClusterState.Builder getReferentialSyncConfigStateBuilder()
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;
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;
getTemplateLibraryState()
public OnClusterState getTemplateLibraryState()
The state of the template library
.google.cloud.gkehub.policycontroller.v1beta.OnClusterState template_library_state = 1;
getTemplateLibraryStateBuilder()
public OnClusterState.Builder getTemplateLibraryStateBuilder()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PolicyContentState other)
public PolicyContentState.Builder mergeFrom(PolicyContentState other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PolicyContentState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PolicyContentState.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeReferentialSyncConfigState(OnClusterState value)
public PolicyContentState.Builder mergeReferentialSyncConfigState(OnClusterState value)
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;
mergeTemplateLibraryState(OnClusterState value)
public PolicyContentState.Builder mergeTemplateLibraryState(OnClusterState value)
The state of the template library
.google.cloud.gkehub.policycontroller.v1beta.OnClusterState template_library_state = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PolicyContentState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllBundleStates(Map<String,OnClusterState> values)
public PolicyContentState.Builder putAllBundleStates(Map<String,OnClusterState> values)
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;
putBundleStates(String key, OnClusterState value)
public PolicyContentState.Builder putBundleStates(String key, OnClusterState value)
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;
putBundleStatesBuilderIfAbsent(String key)
public OnClusterState.Builder putBundleStatesBuilderIfAbsent(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
|
removeBundleStates(String key)
public PolicyContentState.Builder removeBundleStates(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
|
setField(Descriptors.FieldDescriptor field, Object value)
public PolicyContentState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setReferentialSyncConfigState(OnClusterState value)
public PolicyContentState.Builder setReferentialSyncConfigState(OnClusterState value)
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;
setReferentialSyncConfigState(OnClusterState.Builder builderForValue)
public PolicyContentState.Builder setReferentialSyncConfigState(OnClusterState.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PolicyContentState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTemplateLibraryState(OnClusterState value)
public PolicyContentState.Builder setTemplateLibraryState(OnClusterState value)
The state of the template library
.google.cloud.gkehub.policycontroller.v1beta.OnClusterState template_library_state = 1;
setTemplateLibraryState(OnClusterState.Builder builderForValue)
public PolicyContentState.Builder setTemplateLibraryState(OnClusterState.Builder builderForValue)
The state of the template library
.google.cloud.gkehub.policycontroller.v1beta.OnClusterState template_library_state = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final PolicyContentState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides