Class GatekeeperDeploymentState.Builder (1.43.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.v1.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.v1.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.v1.DeploymentState gatekeeper_controller_manager_state = 1;

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.v1.DeploymentState gatekeeper_audit = 2;

Returns
Type Description
DeploymentState

The gatekeeperAudit.

getGatekeeperAuditValue()

public int getGatekeeperAuditValue()

Status of gatekeeper-audit deployment.

.google.cloud.gkehub.configmanagement.v1.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.v1.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.v1.DeploymentState gatekeeper_controller_manager_state = 1;

Returns
Type Description
int

The enum numeric value on the wire for gatekeeperControllerManagerState.

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.v1.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.v1.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.v1.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.v1.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.

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