Class PolicyControllerVersion.Builder (1.21.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.v1alpha.PolicyControllerVersion

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PolicyControllerVersion build()
Returns
TypeDescription
PolicyControllerVersion

buildPartial()

public PolicyControllerVersion buildPartial()
Returns
TypeDescription
PolicyControllerVersion

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PolicyControllerVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
PolicyControllerVersion.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PolicyControllerVersion getDefaultInstanceForType()
Returns
TypeDescription
PolicyControllerVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getVersion()

public String getVersion()

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

string version = 1;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PolicyControllerVersion other)

public PolicyControllerVersion.Builder mergeFrom(PolicyControllerVersion other)
Parameter
NameDescription
otherPolicyControllerVersion
Returns
TypeDescription
PolicyControllerVersion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final PolicyControllerVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The version to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
PolicyControllerVersion.Builder

This builder for chaining.