Class PolicyControllerState.Builder (1.12.0)

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

State for PolicyControllerState.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PolicyControllerState build()
Returns
TypeDescription
PolicyControllerState

buildPartial()

public PolicyControllerState buildPartial()
Returns
TypeDescription
PolicyControllerState

clear()

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

clearDeploymentState()

public PolicyControllerState.Builder clearDeploymentState()

The state about the policy controller installation.

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

Returns
TypeDescription
PolicyControllerState.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public PolicyControllerState.Builder clearVersion()

The version of Gatekeeper Policy Controller deployed.

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

Returns
TypeDescription
PolicyControllerState.Builder

clone()

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

getDefaultInstanceForType()

public PolicyControllerState getDefaultInstanceForType()
Returns
TypeDescription
PolicyControllerState

getDeploymentState()

public GatekeeperDeploymentState getDeploymentState()

The state about the policy controller installation.

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

Returns
TypeDescription
GatekeeperDeploymentState

The deploymentState.

getDeploymentStateBuilder()

public GatekeeperDeploymentState.Builder getDeploymentStateBuilder()

The state about the policy controller installation.

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

Returns
TypeDescription
GatekeeperDeploymentState.Builder

getDeploymentStateOrBuilder()

public GatekeeperDeploymentStateOrBuilder getDeploymentStateOrBuilder()

The state about the policy controller installation.

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

Returns
TypeDescription
GatekeeperDeploymentStateOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getVersion()

public PolicyControllerVersion getVersion()

The version of Gatekeeper Policy Controller deployed.

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

Returns
TypeDescription
PolicyControllerVersion

The version.

getVersionBuilder()

public PolicyControllerVersion.Builder getVersionBuilder()

The version of Gatekeeper Policy Controller deployed.

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

Returns
TypeDescription
PolicyControllerVersion.Builder

getVersionOrBuilder()

public PolicyControllerVersionOrBuilder getVersionOrBuilder()

The version of Gatekeeper Policy Controller deployed.

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

Returns
TypeDescription
PolicyControllerVersionOrBuilder

hasDeploymentState()

public boolean hasDeploymentState()

The state about the policy controller installation.

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

Returns
TypeDescription
boolean

Whether the deploymentState field is set.

hasVersion()

public boolean hasVersion()

The version of Gatekeeper Policy Controller deployed.

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

Returns
TypeDescription
boolean

Whether the version field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDeploymentState(GatekeeperDeploymentState value)

public PolicyControllerState.Builder mergeDeploymentState(GatekeeperDeploymentState value)

The state about the policy controller installation.

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

Parameter
NameDescription
valueGatekeeperDeploymentState
Returns
TypeDescription
PolicyControllerState.Builder

mergeFrom(PolicyControllerState other)

public PolicyControllerState.Builder mergeFrom(PolicyControllerState other)
Parameter
NameDescription
otherPolicyControllerState
Returns
TypeDescription
PolicyControllerState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVersion(PolicyControllerVersion value)

public PolicyControllerState.Builder mergeVersion(PolicyControllerVersion value)

The version of Gatekeeper Policy Controller deployed.

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

Parameter
NameDescription
valuePolicyControllerVersion
Returns
TypeDescription
PolicyControllerState.Builder

setDeploymentState(GatekeeperDeploymentState value)

public PolicyControllerState.Builder setDeploymentState(GatekeeperDeploymentState value)

The state about the policy controller installation.

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

Parameter
NameDescription
valueGatekeeperDeploymentState
Returns
TypeDescription
PolicyControllerState.Builder

setDeploymentState(GatekeeperDeploymentState.Builder builderForValue)

public PolicyControllerState.Builder setDeploymentState(GatekeeperDeploymentState.Builder builderForValue)

The state about the policy controller installation.

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

Parameter
NameDescription
builderForValueGatekeeperDeploymentState.Builder
Returns
TypeDescription
PolicyControllerState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public PolicyControllerState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PolicyControllerState.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(PolicyControllerVersion value)

public PolicyControllerState.Builder setVersion(PolicyControllerVersion value)

The version of Gatekeeper Policy Controller deployed.

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

Parameter
NameDescription
valuePolicyControllerVersion
Returns
TypeDescription
PolicyControllerState.Builder

setVersion(PolicyControllerVersion.Builder builderForValue)

public PolicyControllerState.Builder setVersion(PolicyControllerVersion.Builder builderForValue)

The version of Gatekeeper Policy Controller deployed.

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

Parameter
NameDescription
builderForValuePolicyControllerVersion.Builder
Returns
TypeDescription
PolicyControllerState.Builder