Class PolicyControllerState.Builder (1.42.0)

public static final class PolicyControllerState.Builder extends GeneratedMessageV3.Builder<PolicyControllerState.Builder> implements PolicyControllerStateOrBuilder

State for PolicyControllerState.

Protobuf type google.cloud.gkehub.configmanagement.v1alpha.PolicyControllerState

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PolicyControllerState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PolicyControllerState.Builder
Overrides

build()

public PolicyControllerState build()
Returns
Type Description
PolicyControllerState

buildPartial()

public PolicyControllerState buildPartial()
Returns
Type Description
PolicyControllerState

clear()

public PolicyControllerState.Builder clear()
Returns
Type Description
PolicyControllerState.Builder
Overrides

clearDeploymentState()

public PolicyControllerState.Builder clearDeploymentState()

The state about the policy controller installation.

.google.cloud.gkehub.configmanagement.v1alpha.GatekeeperDeploymentState deployment_state = 2;

Returns
Type Description
PolicyControllerState.Builder

clearField(Descriptors.FieldDescriptor field)

public PolicyControllerState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PolicyControllerState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PolicyControllerState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PolicyControllerState.Builder
Overrides

clearVersion()

public PolicyControllerState.Builder clearVersion()

The version of Gatekeeper Policy Controller deployed.

.google.cloud.gkehub.configmanagement.v1alpha.PolicyControllerVersion version = 1;

Returns
Type Description
PolicyControllerState.Builder

clone()

public PolicyControllerState.Builder clone()
Returns
Type Description
PolicyControllerState.Builder
Overrides

getDefaultInstanceForType()

public PolicyControllerState getDefaultInstanceForType()
Returns
Type Description
PolicyControllerState

getDeploymentState()

public GatekeeperDeploymentState getDeploymentState()

The state about the policy controller installation.

.google.cloud.gkehub.configmanagement.v1alpha.GatekeeperDeploymentState deployment_state = 2;

Returns
Type Description
GatekeeperDeploymentState

The deploymentState.

getDeploymentStateBuilder()

public GatekeeperDeploymentState.Builder getDeploymentStateBuilder()

The state about the policy controller installation.

.google.cloud.gkehub.configmanagement.v1alpha.GatekeeperDeploymentState deployment_state = 2;

Returns
Type Description
GatekeeperDeploymentState.Builder

getDeploymentStateOrBuilder()

public GatekeeperDeploymentStateOrBuilder getDeploymentStateOrBuilder()

The state about the policy controller installation.

.google.cloud.gkehub.configmanagement.v1alpha.GatekeeperDeploymentState deployment_state = 2;

Returns
Type Description
GatekeeperDeploymentStateOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getVersion()

public PolicyControllerVersion getVersion()

The version of Gatekeeper Policy Controller deployed.

.google.cloud.gkehub.configmanagement.v1alpha.PolicyControllerVersion version = 1;

Returns
Type Description
PolicyControllerVersion

The version.

getVersionBuilder()

public PolicyControllerVersion.Builder getVersionBuilder()

The version of Gatekeeper Policy Controller deployed.

.google.cloud.gkehub.configmanagement.v1alpha.PolicyControllerVersion version = 1;

Returns
Type Description
PolicyControllerVersion.Builder

getVersionOrBuilder()

public PolicyControllerVersionOrBuilder getVersionOrBuilder()

The version of Gatekeeper Policy Controller deployed.

.google.cloud.gkehub.configmanagement.v1alpha.PolicyControllerVersion version = 1;

Returns
Type Description
PolicyControllerVersionOrBuilder

hasDeploymentState()

public boolean hasDeploymentState()

The state about the policy controller installation.

.google.cloud.gkehub.configmanagement.v1alpha.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.v1alpha.PolicyControllerVersion version = 1;

Returns
Type Description
boolean

Whether the version field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeploymentState(GatekeeperDeploymentState value)

public PolicyControllerState.Builder mergeDeploymentState(GatekeeperDeploymentState value)

The state about the policy controller installation.

.google.cloud.gkehub.configmanagement.v1alpha.GatekeeperDeploymentState deployment_state = 2;

Parameter
Name Description
value GatekeeperDeploymentState
Returns
Type Description
PolicyControllerState.Builder

mergeFrom(PolicyControllerState other)

public PolicyControllerState.Builder mergeFrom(PolicyControllerState other)
Parameter
Name Description
other PolicyControllerState
Returns
Type Description
PolicyControllerState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PolicyControllerState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerState.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PolicyControllerState.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PolicyControllerState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PolicyControllerState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PolicyControllerState.Builder
Overrides

mergeVersion(PolicyControllerVersion value)

public PolicyControllerState.Builder mergeVersion(PolicyControllerVersion value)

The version of Gatekeeper Policy Controller deployed.

.google.cloud.gkehub.configmanagement.v1alpha.PolicyControllerVersion version = 1;

Parameter
Name Description
value PolicyControllerVersion
Returns
Type Description
PolicyControllerState.Builder

setDeploymentState(GatekeeperDeploymentState value)

public PolicyControllerState.Builder setDeploymentState(GatekeeperDeploymentState value)

The state about the policy controller installation.

.google.cloud.gkehub.configmanagement.v1alpha.GatekeeperDeploymentState deployment_state = 2;

Parameter
Name Description
value GatekeeperDeploymentState
Returns
Type Description
PolicyControllerState.Builder

setDeploymentState(GatekeeperDeploymentState.Builder builderForValue)

public PolicyControllerState.Builder setDeploymentState(GatekeeperDeploymentState.Builder builderForValue)

The state about the policy controller installation.

.google.cloud.gkehub.configmanagement.v1alpha.GatekeeperDeploymentState deployment_state = 2;

Parameter
Name Description
builderForValue GatekeeperDeploymentState.Builder
Returns
Type Description
PolicyControllerState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PolicyControllerState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PolicyControllerState.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PolicyControllerState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PolicyControllerState.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PolicyControllerState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PolicyControllerState.Builder
Overrides

setVersion(PolicyControllerVersion value)

public PolicyControllerState.Builder setVersion(PolicyControllerVersion value)

The version of Gatekeeper Policy Controller deployed.

.google.cloud.gkehub.configmanagement.v1alpha.PolicyControllerVersion version = 1;

Parameter
Name Description
value PolicyControllerVersion
Returns
Type Description
PolicyControllerState.Builder

setVersion(PolicyControllerVersion.Builder builderForValue)

public PolicyControllerState.Builder setVersion(PolicyControllerVersion.Builder builderForValue)

The version of Gatekeeper Policy Controller deployed.

.google.cloud.gkehub.configmanagement.v1alpha.PolicyControllerVersion version = 1;

Parameter
Name Description
builderForValue PolicyControllerVersion.Builder
Returns
Type Description
PolicyControllerState.Builder