Class PolicyControllerVersion.Builder (1.49.0)

public static final class PolicyControllerVersion.Builder extends GeneratedMessageV3.Builder<PolicyControllerVersion.Builder> implements PolicyControllerVersionOrBuilder

The build version of Gatekeeper Policy Controller is using.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PolicyControllerVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PolicyControllerVersion.Builder
Overrides

build()

public PolicyControllerVersion build()
Returns
Type Description
PolicyControllerVersion

buildPartial()

public PolicyControllerVersion buildPartial()
Returns
Type Description
PolicyControllerVersion

clear()

public PolicyControllerVersion.Builder clear()
Returns
Type Description
PolicyControllerVersion.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PolicyControllerVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PolicyControllerVersion.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PolicyControllerVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PolicyControllerVersion.Builder
Overrides

clearVersion()

public PolicyControllerVersion.Builder clearVersion()

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

string version = 1;

Returns
Type Description
PolicyControllerVersion.Builder

This builder for chaining.

clone()

public PolicyControllerVersion.Builder clone()
Returns
Type Description
PolicyControllerVersion.Builder
Overrides

getDefaultInstanceForType()

public PolicyControllerVersion getDefaultInstanceForType()
Returns
Type Description
PolicyControllerVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PolicyControllerVersion other)

public PolicyControllerVersion.Builder mergeFrom(PolicyControllerVersion other)
Parameter
Name Description
other PolicyControllerVersion
Returns
Type Description
PolicyControllerVersion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PolicyControllerVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerVersion.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PolicyControllerVersion.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PolicyControllerVersion.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PolicyControllerVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PolicyControllerVersion.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PolicyControllerVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PolicyControllerVersion.Builder
Overrides

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

public PolicyControllerVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PolicyControllerVersion.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PolicyControllerVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PolicyControllerVersion.Builder
Overrides

setVersion(String value)

public PolicyControllerVersion.Builder setVersion(String value)

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

string version = 1;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
PolicyControllerVersion.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public PolicyControllerVersion.Builder setVersionBytes(ByteString value)

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

string version = 1;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
PolicyControllerVersion.Builder

This builder for chaining.