Class HierarchyControllerVersion.Builder (1.3.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HierarchyControllerVersion build()
Returns
TypeDescription
HierarchyControllerVersion

buildPartial()

public HierarchyControllerVersion buildPartial()
Returns
TypeDescription
HierarchyControllerVersion

clear()

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

clearExtension()

public HierarchyControllerVersion.Builder clearExtension()

Version for Hierarchy Controller extension

string extension = 2;

Returns
TypeDescription
HierarchyControllerVersion.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHnc()

public HierarchyControllerVersion.Builder clearHnc()

Version for open source HNC

string hnc = 1;

Returns
TypeDescription
HierarchyControllerVersion.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public HierarchyControllerVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
HierarchyControllerVersion.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public HierarchyControllerVersion getDefaultInstanceForType()
Returns
TypeDescription
HierarchyControllerVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExtension()

public String getExtension()

Version for Hierarchy Controller extension

string extension = 2;

Returns
TypeDescription
String

The extension.

getExtensionBytes()

public ByteString getExtensionBytes()

Version for Hierarchy Controller extension

string extension = 2;

Returns
TypeDescription
ByteString

The bytes for extension.

getHnc()

public String getHnc()

Version for open source HNC

string hnc = 1;

Returns
TypeDescription
String

The hnc.

getHncBytes()

public ByteString getHncBytes()

Version for open source HNC

string hnc = 1;

Returns
TypeDescription
ByteString

The bytes for hnc.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HierarchyControllerVersion other)

public HierarchyControllerVersion.Builder mergeFrom(HierarchyControllerVersion other)
Parameter
NameDescription
otherHierarchyControllerVersion
Returns
TypeDescription
HierarchyControllerVersion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setExtension(String value)

public HierarchyControllerVersion.Builder setExtension(String value)

Version for Hierarchy Controller extension

string extension = 2;

Parameter
NameDescription
valueString

The extension to set.

Returns
TypeDescription
HierarchyControllerVersion.Builder

This builder for chaining.

setExtensionBytes(ByteString value)

public HierarchyControllerVersion.Builder setExtensionBytes(ByteString value)

Version for Hierarchy Controller extension

string extension = 2;

Parameter
NameDescription
valueByteString

The bytes for extension to set.

Returns
TypeDescription
HierarchyControllerVersion.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHnc(String value)

public HierarchyControllerVersion.Builder setHnc(String value)

Version for open source HNC

string hnc = 1;

Parameter
NameDescription
valueString

The hnc to set.

Returns
TypeDescription
HierarchyControllerVersion.Builder

This builder for chaining.

setHncBytes(ByteString value)

public HierarchyControllerVersion.Builder setHncBytes(ByteString value)

Version for open source HNC

string hnc = 1;

Parameter
NameDescription
valueByteString

The bytes for hnc to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HierarchyControllerVersion.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HierarchyControllerVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HierarchyControllerVersion.Builder
Overrides