Class PolicyControllerVersion.Builder (1.0.1)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 1.0.1keyboard_arrow_down
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PolicyControllerVersion . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public PolicyControllerVersion build ()
Returns
buildPartial()
public PolicyControllerVersion buildPartial ()
Returns
clear()
public PolicyControllerVersion . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PolicyControllerVersion . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PolicyControllerVersion . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearVersion()
public PolicyControllerVersion . Builder clearVersion ()
The gatekeeper image tag that is composed of ACM version, git tag, build
number.
string version = 1;
Returns
clone()
public PolicyControllerVersion . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public PolicyControllerVersion getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(PolicyControllerVersion other)
public PolicyControllerVersion . Builder mergeFrom ( PolicyControllerVersion other )
Parameter
Returns
public PolicyControllerVersion . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PolicyControllerVersion . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PolicyControllerVersion . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PolicyControllerVersion . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PolicyControllerVersion . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PolicyControllerVersion . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,[]]