public static final class PolicyControllerState.Builder extends GeneratedMessageV3.Builder<PolicyControllerState.Builder> implements PolicyControllerStateOrBuilder
State for PolicyControllerState.
Protobuf type google.cloud.gkehub.configmanagement.v1.PolicyControllerState
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PolicyControllerState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PolicyControllerState build()
Returns
buildPartial()
public PolicyControllerState buildPartial()
Returns
clear()
public PolicyControllerState.Builder clear()
Returns
Overrides
clearDeploymentState()
public PolicyControllerState.Builder clearDeploymentState()
The state about the policy controller installation.
.google.cloud.gkehub.configmanagement.v1.GatekeeperDeploymentState deployment_state = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public PolicyControllerState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PolicyControllerState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVersion()
public PolicyControllerState.Builder clearVersion()
The version of Gatekeeper Policy Controller deployed.
.google.cloud.gkehub.configmanagement.v1.PolicyControllerVersion version = 1;
Returns
clone()
public PolicyControllerState.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PolicyControllerState getDefaultInstanceForType()
Returns
getDeploymentState()
public GatekeeperDeploymentState getDeploymentState()
The state about the policy controller installation.
.google.cloud.gkehub.configmanagement.v1.GatekeeperDeploymentState deployment_state = 2;
Returns
getDeploymentStateBuilder()
public GatekeeperDeploymentState.Builder getDeploymentStateBuilder()
The state about the policy controller installation.
.google.cloud.gkehub.configmanagement.v1.GatekeeperDeploymentState deployment_state = 2;
Returns
getDeploymentStateOrBuilder()
public GatekeeperDeploymentStateOrBuilder getDeploymentStateOrBuilder()
The state about the policy controller installation.
.google.cloud.gkehub.configmanagement.v1.GatekeeperDeploymentState deployment_state = 2;
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getVersion()
public PolicyControllerVersion getVersion()
The version of Gatekeeper Policy Controller deployed.
.google.cloud.gkehub.configmanagement.v1.PolicyControllerVersion version = 1;
Returns
getVersionBuilder()
public PolicyControllerVersion.Builder getVersionBuilder()
The version of Gatekeeper Policy Controller deployed.
.google.cloud.gkehub.configmanagement.v1.PolicyControllerVersion version = 1;
Returns
getVersionOrBuilder()
public PolicyControllerVersionOrBuilder getVersionOrBuilder()
The version of Gatekeeper Policy Controller deployed.
.google.cloud.gkehub.configmanagement.v1.PolicyControllerVersion version = 1;
Returns
hasDeploymentState()
public boolean hasDeploymentState()
The state about the policy controller installation.
.google.cloud.gkehub.configmanagement.v1.GatekeeperDeploymentState deployment_state = 2;
Returns
Type | Description |
boolean | Whether the deploymentState field is set.
|
hasVersion()
public boolean hasVersion()
The version of Gatekeeper Policy Controller deployed.
.google.cloud.gkehub.configmanagement.v1.PolicyControllerVersion version = 1;
Returns
Type | Description |
boolean | Whether the version field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeDeploymentState(GatekeeperDeploymentState value)
public PolicyControllerState.Builder mergeDeploymentState(GatekeeperDeploymentState value)
The state about the policy controller installation.
.google.cloud.gkehub.configmanagement.v1.GatekeeperDeploymentState deployment_state = 2;
Parameter
Returns
mergeFrom(PolicyControllerState other)
public PolicyControllerState.Builder mergeFrom(PolicyControllerState other)
Parameter
Returns
public PolicyControllerState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PolicyControllerState.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PolicyControllerState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeVersion(PolicyControllerVersion value)
public PolicyControllerState.Builder mergeVersion(PolicyControllerVersion value)
The version of Gatekeeper Policy Controller deployed.
.google.cloud.gkehub.configmanagement.v1.PolicyControllerVersion version = 1;
Parameter
Returns
setDeploymentState(GatekeeperDeploymentState value)
public PolicyControllerState.Builder setDeploymentState(GatekeeperDeploymentState value)
The state about the policy controller installation.
.google.cloud.gkehub.configmanagement.v1.GatekeeperDeploymentState deployment_state = 2;
Parameter
Returns
setDeploymentState(GatekeeperDeploymentState.Builder builderForValue)
public PolicyControllerState.Builder setDeploymentState(GatekeeperDeploymentState.Builder builderForValue)
The state about the policy controller installation.
.google.cloud.gkehub.configmanagement.v1.GatekeeperDeploymentState deployment_state = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PolicyControllerState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PolicyControllerState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PolicyControllerState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVersion(PolicyControllerVersion value)
public PolicyControllerState.Builder setVersion(PolicyControllerVersion value)
The version of Gatekeeper Policy Controller deployed.
.google.cloud.gkehub.configmanagement.v1.PolicyControllerVersion version = 1;
Parameter
Returns
setVersion(PolicyControllerVersion.Builder builderForValue)
public PolicyControllerState.Builder setVersion(PolicyControllerVersion.Builder builderForValue)
The version of Gatekeeper Policy Controller deployed.
.google.cloud.gkehub.configmanagement.v1.PolicyControllerVersion version = 1;
Parameter
Returns