Class GatekeeperDeploymentState.Builder (1.35.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.v1beta.GatekeeperDeploymentState

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GatekeeperDeploymentState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GatekeeperDeploymentState.Builder
Overrides

build()

public GatekeeperDeploymentState build()
Returns
TypeDescription
GatekeeperDeploymentState

buildPartial()

public GatekeeperDeploymentState buildPartial()
Returns
TypeDescription
GatekeeperDeploymentState

clear()

public GatekeeperDeploymentState.Builder clear()
Returns
TypeDescription
GatekeeperDeploymentState.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GatekeeperDeploymentState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GatekeeperDeploymentState.Builder
Overrides

clearGatekeeperAudit()

public GatekeeperDeploymentState.Builder clearGatekeeperAudit()

Status of gatekeeper-audit deployment.

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

Returns
TypeDescription
GatekeeperDeploymentState.Builder

This builder for chaining.

clearGatekeeperControllerManagerState()

public GatekeeperDeploymentState.Builder clearGatekeeperControllerManagerState()

Status of gatekeeper-controller-manager pod.

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

Returns
TypeDescription
GatekeeperDeploymentState.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GatekeeperDeploymentState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GatekeeperDeploymentState.Builder
Overrides

clone()

public GatekeeperDeploymentState.Builder clone()
Returns
TypeDescription
GatekeeperDeploymentState.Builder
Overrides

getDefaultInstanceForType()

public GatekeeperDeploymentState getDefaultInstanceForType()
Returns
TypeDescription
GatekeeperDeploymentState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGatekeeperAudit()

public DeploymentState getGatekeeperAudit()

Status of gatekeeper-audit deployment.

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

Returns
TypeDescription
DeploymentState

The gatekeeperAudit.

getGatekeeperAuditValue()

public int getGatekeeperAuditValue()

Status of gatekeeper-audit deployment.

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

Returns
TypeDescription
int

The enum numeric value on the wire for gatekeeperAudit.

getGatekeeperControllerManagerState()

public DeploymentState getGatekeeperControllerManagerState()

Status of gatekeeper-controller-manager pod.

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

Returns
TypeDescription
DeploymentState

The gatekeeperControllerManagerState.

getGatekeeperControllerManagerStateValue()

public int getGatekeeperControllerManagerStateValue()

Status of gatekeeper-controller-manager pod.

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

Returns
TypeDescription
int

The enum numeric value on the wire for gatekeeperControllerManagerState.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GatekeeperDeploymentState other)

public GatekeeperDeploymentState.Builder mergeFrom(GatekeeperDeploymentState other)
Parameter
NameDescription
otherGatekeeperDeploymentState
Returns
TypeDescription
GatekeeperDeploymentState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GatekeeperDeploymentState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GatekeeperDeploymentState.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GatekeeperDeploymentState.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GatekeeperDeploymentState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GatekeeperDeploymentState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GatekeeperDeploymentState.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GatekeeperDeploymentState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GatekeeperDeploymentState.Builder
Overrides

setGatekeeperAudit(DeploymentState value)

public GatekeeperDeploymentState.Builder setGatekeeperAudit(DeploymentState value)

Status of gatekeeper-audit deployment.

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

Parameter
NameDescription
valueDeploymentState

The gatekeeperAudit to set.

Returns
TypeDescription
GatekeeperDeploymentState.Builder

This builder for chaining.

setGatekeeperAuditValue(int value)

public GatekeeperDeploymentState.Builder setGatekeeperAuditValue(int value)

Status of gatekeeper-audit deployment.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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.v1beta.DeploymentState gatekeeper_controller_manager_state = 1;

Parameter
NameDescription
valueDeploymentState

The gatekeeperControllerManagerState to set.

Returns
TypeDescription
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.v1beta.DeploymentState gatekeeper_controller_manager_state = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GatekeeperDeploymentState.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GatekeeperDeploymentState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GatekeeperDeploymentState.Builder
Overrides