Class PolicyControllerState (1.49.0)

public final class PolicyControllerState extends GeneratedMessageV3 implements PolicyControllerStateOrBuilder

State for PolicyControllerState.

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

Static Fields

DEPLOYMENT_STATE_FIELD_NUMBER

public static final int DEPLOYMENT_STATE_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PolicyControllerState getDefaultInstance()
Returns
Type Description
PolicyControllerState

getDescriptor()

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

newBuilder()

public static PolicyControllerState.Builder newBuilder()
Returns
Type Description
PolicyControllerState.Builder

newBuilder(PolicyControllerState prototype)

public static PolicyControllerState.Builder newBuilder(PolicyControllerState prototype)
Parameter
Name Description
prototype PolicyControllerState
Returns
Type Description
PolicyControllerState.Builder

parseDelimitedFrom(InputStream input)

public static PolicyControllerState parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PolicyControllerState
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerState
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PolicyControllerState parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PolicyControllerState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PolicyControllerState parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PolicyControllerState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PolicyControllerState parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PolicyControllerState
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerState
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PolicyControllerState parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PolicyControllerState
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerState
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PolicyControllerState parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PolicyControllerState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerState
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PolicyControllerState> parser()
Returns
Type Description
Parser<PolicyControllerState>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PolicyControllerState getDefaultInstanceForType()
Returns
Type Description
PolicyControllerState

getDeploymentState()

public GatekeeperDeploymentState getDeploymentState()

The state about the policy controller installation.

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

Returns
Type Description
GatekeeperDeploymentState

The deploymentState.

getDeploymentStateOrBuilder()

public GatekeeperDeploymentStateOrBuilder getDeploymentStateOrBuilder()

The state about the policy controller installation.

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

Returns
Type Description
GatekeeperDeploymentStateOrBuilder

getParserForType()

public Parser<PolicyControllerState> getParserForType()
Returns
Type Description
Parser<PolicyControllerState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVersion()

public PolicyControllerVersion getVersion()

The version of Gatekeeper Policy Controller deployed.

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

Returns
Type Description
PolicyControllerVersion

The version.

getVersionOrBuilder()

public PolicyControllerVersionOrBuilder getVersionOrBuilder()

The version of Gatekeeper Policy Controller deployed.

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

Returns
Type Description
PolicyControllerVersionOrBuilder

hasDeploymentState()

public boolean hasDeploymentState()

The state about the policy controller installation.

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

Returns
Type Description
boolean

Whether the version field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PolicyControllerState.Builder newBuilderForType()
Returns
Type Description
PolicyControllerState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PolicyControllerState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PolicyControllerState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PolicyControllerState.Builder toBuilder()
Returns
Type Description
PolicyControllerState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException