Class PolicyControllerState (1.36.0)

public final class PolicyControllerState extends GeneratedMessageV3 implements PolicyControllerStateOrBuilder

State for PolicyControllerState.

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

Static Fields

DEPLOYMENT_STATE_FIELD_NUMBER

public static final int DEPLOYMENT_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PolicyControllerState getDefaultInstance()
Returns
TypeDescription
PolicyControllerState

getDescriptor()

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

newBuilder()

public static PolicyControllerState.Builder newBuilder()
Returns
TypeDescription
PolicyControllerState.Builder

newBuilder(PolicyControllerState prototype)

public static PolicyControllerState.Builder newBuilder(PolicyControllerState prototype)
Parameter
NameDescription
prototypePolicyControllerState
Returns
TypeDescription
PolicyControllerState.Builder

parseDelimitedFrom(InputStream input)

public static PolicyControllerState parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PolicyControllerState
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyControllerState
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PolicyControllerState parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PolicyControllerState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyControllerState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PolicyControllerState parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PolicyControllerState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyControllerState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PolicyControllerState parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PolicyControllerState
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyControllerState
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PolicyControllerState parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PolicyControllerState
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyControllerState
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PolicyControllerState parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PolicyControllerState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyControllerState
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PolicyControllerState> parser()
Returns
TypeDescription
Parser<PolicyControllerState>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PolicyControllerState getDefaultInstanceForType()
Returns
TypeDescription
PolicyControllerState

getDeploymentState()

public GatekeeperDeploymentState getDeploymentState()

The state about the policy controller installation.

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

Returns
TypeDescription
GatekeeperDeploymentState

The deploymentState.

getDeploymentStateOrBuilder()

public GatekeeperDeploymentStateOrBuilder getDeploymentStateOrBuilder()

The state about the policy controller installation.

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

Returns
TypeDescription
GatekeeperDeploymentStateOrBuilder

getParserForType()

public Parser<PolicyControllerState> getParserForType()
Returns
TypeDescription
Parser<PolicyControllerState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVersion()

public PolicyControllerVersion getVersion()

The version of Gatekeeper Policy Controller deployed.

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

Returns
TypeDescription
PolicyControllerVersion

The version.

getVersionOrBuilder()

public PolicyControllerVersionOrBuilder getVersionOrBuilder()

The version of Gatekeeper Policy Controller deployed.

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

Returns
TypeDescription
PolicyControllerVersionOrBuilder

hasDeploymentState()

public boolean hasDeploymentState()

The state about the policy controller installation.

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

Returns
TypeDescription
boolean

Whether the version field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PolicyControllerState.Builder newBuilderForType()
Returns
TypeDescription
PolicyControllerState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PolicyControllerState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PolicyControllerState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PolicyControllerState.Builder toBuilder()
Returns
TypeDescription
PolicyControllerState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException