Class GatekeeperDeploymentState.Builder (1.45.0)

public static final class GatekeeperDeploymentState.Builder extends GeneratedMessageV3.Builder<GatekeeperDeploymentState.Builder> implements GatekeeperDeploymentStateOrBuilder

State of Policy Controller installation.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GatekeeperDeploymentState build()
Returns
Type Description
GatekeeperDeploymentState

buildPartial()

public GatekeeperDeploymentState buildPartial()
Returns
Type Description
GatekeeperDeploymentState

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGatekeeperAudit()

public GatekeeperDeploymentState.Builder clearGatekeeperAudit()

Status of gatekeeper-audit deployment.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_audit = 2;

Returns
Type Description
GatekeeperDeploymentState.Builder

This builder for chaining.

clearGatekeeperControllerManagerState()

public GatekeeperDeploymentState.Builder clearGatekeeperControllerManagerState()

Status of gatekeeper-controller-manager pod.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_controller_manager_state = 1;

Returns
Type Description
GatekeeperDeploymentState.Builder

This builder for chaining.

clearGatekeeperMutation()

public GatekeeperDeploymentState.Builder clearGatekeeperMutation()

Status of the pod serving the mutation webhook.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_mutation = 3;

Returns
Type Description
GatekeeperDeploymentState.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GatekeeperDeploymentState getDefaultInstanceForType()
Returns
Type Description
GatekeeperDeploymentState

getDescriptorForType()

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

getGatekeeperAudit()

public DeploymentState getGatekeeperAudit()

Status of gatekeeper-audit deployment.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_audit = 2;

Returns
Type Description
DeploymentState

The gatekeeperAudit.

getGatekeeperAuditValue()

public int getGatekeeperAuditValue()

Status of gatekeeper-audit deployment.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_audit = 2;

Returns
Type Description
int

The enum numeric value on the wire for gatekeeperAudit.

getGatekeeperControllerManagerState()

public DeploymentState getGatekeeperControllerManagerState()

Status of gatekeeper-controller-manager pod.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_controller_manager_state = 1;

Returns
Type Description
DeploymentState

The gatekeeperControllerManagerState.

getGatekeeperControllerManagerStateValue()

public int getGatekeeperControllerManagerStateValue()

Status of gatekeeper-controller-manager pod.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_controller_manager_state = 1;

Returns
Type Description
int

The enum numeric value on the wire for gatekeeperControllerManagerState.

getGatekeeperMutation()

public DeploymentState getGatekeeperMutation()

Status of the pod serving the mutation webhook.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_mutation = 3;

Returns
Type Description
DeploymentState

The gatekeeperMutation.

getGatekeeperMutationValue()

public int getGatekeeperMutationValue()

Status of the pod serving the mutation webhook.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_mutation = 3;

Returns
Type Description
int

The enum numeric value on the wire for gatekeeperMutation.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GatekeeperDeploymentState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGatekeeperAudit(DeploymentState value)

public GatekeeperDeploymentState.Builder setGatekeeperAudit(DeploymentState value)

Status of gatekeeper-audit deployment.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_audit = 2;

Parameter
Name Description
value DeploymentState

The gatekeeperAudit to set.

Returns
Type Description
GatekeeperDeploymentState.Builder

This builder for chaining.

setGatekeeperAuditValue(int value)

public GatekeeperDeploymentState.Builder setGatekeeperAuditValue(int value)

Status of gatekeeper-audit deployment.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_audit = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for gatekeeperAudit to set.

Returns
Type Description
GatekeeperDeploymentState.Builder

This builder for chaining.

setGatekeeperControllerManagerState(DeploymentState value)

public GatekeeperDeploymentState.Builder setGatekeeperControllerManagerState(DeploymentState value)

Status of gatekeeper-controller-manager pod.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_controller_manager_state = 1;

Parameter
Name Description
value DeploymentState

The gatekeeperControllerManagerState to set.

Returns
Type Description
GatekeeperDeploymentState.Builder

This builder for chaining.

setGatekeeperControllerManagerStateValue(int value)

public GatekeeperDeploymentState.Builder setGatekeeperControllerManagerStateValue(int value)

Status of gatekeeper-controller-manager pod.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_controller_manager_state = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for gatekeeperControllerManagerState to set.

Returns
Type Description
GatekeeperDeploymentState.Builder

This builder for chaining.

setGatekeeperMutation(DeploymentState value)

public GatekeeperDeploymentState.Builder setGatekeeperMutation(DeploymentState value)

Status of the pod serving the mutation webhook.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_mutation = 3;

Parameter
Name Description
value DeploymentState

The gatekeeperMutation to set.

Returns
Type Description
GatekeeperDeploymentState.Builder

This builder for chaining.

setGatekeeperMutationValue(int value)

public GatekeeperDeploymentState.Builder setGatekeeperMutationValue(int value)

Status of the pod serving the mutation webhook.

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState gatekeeper_mutation = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for gatekeeperMutation to set.

Returns
Type Description
GatekeeperDeploymentState.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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