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.v1.PolicyControllerVersion
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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
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