Class HierarchyControllerVersion.Builder (1.42.0)

public static final class HierarchyControllerVersion.Builder extends GeneratedMessageV3.Builder<HierarchyControllerVersion.Builder> implements HierarchyControllerVersionOrBuilder

Version for Hierarchy Controller

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HierarchyControllerVersion build()
Returns
Type Description
HierarchyControllerVersion

buildPartial()

public HierarchyControllerVersion buildPartial()
Returns
Type Description
HierarchyControllerVersion

clear()

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

clearExtension()

public HierarchyControllerVersion.Builder clearExtension()

Version for Hierarchy Controller extension

string extension = 2;

Returns
Type Description
HierarchyControllerVersion.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHnc()

public HierarchyControllerVersion.Builder clearHnc()

Version for open source HNC

string hnc = 1;

Returns
Type Description
HierarchyControllerVersion.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public HierarchyControllerVersion getDefaultInstanceForType()
Returns
Type Description
HierarchyControllerVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExtension()

public String getExtension()

Version for Hierarchy Controller extension

string extension = 2;

Returns
Type Description
String

The extension.

getExtensionBytes()

public ByteString getExtensionBytes()

Version for Hierarchy Controller extension

string extension = 2;

Returns
Type Description
ByteString

The bytes for extension.

getHnc()

public String getHnc()

Version for open source HNC

string hnc = 1;

Returns
Type Description
String

The hnc.

getHncBytes()

public ByteString getHncBytes()

Version for open source HNC

string hnc = 1;

Returns
Type Description
ByteString

The bytes for hnc.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HierarchyControllerVersion other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setExtension(String value)

public HierarchyControllerVersion.Builder setExtension(String value)

Version for Hierarchy Controller extension

string extension = 2;

Parameter
Name Description
value String

The extension to set.

Returns
Type Description
HierarchyControllerVersion.Builder

This builder for chaining.

setExtensionBytes(ByteString value)

public HierarchyControllerVersion.Builder setExtensionBytes(ByteString value)

Version for Hierarchy Controller extension

string extension = 2;

Parameter
Name Description
value ByteString

The bytes for extension to set.

Returns
Type Description
HierarchyControllerVersion.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHnc(String value)

public HierarchyControllerVersion.Builder setHnc(String value)

Version for open source HNC

string hnc = 1;

Parameter
Name Description
value String

The hnc to set.

Returns
Type Description
HierarchyControllerVersion.Builder

This builder for chaining.

setHncBytes(ByteString value)

public HierarchyControllerVersion.Builder setHncBytes(ByteString value)

Version for open source HNC

string hnc = 1;

Parameter
Name Description
value ByteString

The bytes for hnc to set.

Returns
Type Description
HierarchyControllerVersion.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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