Class PolicyControllerVersion (1.42.0)

public final class PolicyControllerVersion extends GeneratedMessageV3 implements PolicyControllerVersionOrBuilder

The build version of Gatekeeper Policy Controller is using.

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

Static Fields

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PolicyControllerVersion getDefaultInstance()
Returns
Type Description
PolicyControllerVersion

getDescriptor()

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

newBuilder()

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

newBuilder(PolicyControllerVersion prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PolicyControllerVersion getDefaultInstanceForType()
Returns
Type Description
PolicyControllerVersion

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVersion()

public String getVersion()

The gatekeeper image tag that is composed of ACM version, git tag, build number.

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The gatekeeper image tag that is composed of ACM version, git tag, build number.

string version = 1;

Returns
Type Description
ByteString

The bytes for version.

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 PolicyControllerVersion.Builder newBuilderForType()
Returns
Type Description
PolicyControllerVersion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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