Class AzureK8sVersionInfo.Builder (0.7.0)

public static final class AzureK8sVersionInfo.Builder extends GeneratedMessageV3.Builder<AzureK8sVersionInfo.Builder> implements AzureK8sVersionInfoOrBuilder

Information about a supported Kubernetes version.

Protobuf type google.cloud.gkemulticloud.v1.AzureK8sVersionInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AzureK8sVersionInfo build()
Returns
TypeDescription
AzureK8sVersionInfo

buildPartial()

public AzureK8sVersionInfo buildPartial()
Returns
TypeDescription
AzureK8sVersionInfo

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public AzureK8sVersionInfo.Builder clearVersion()

A supported Kubernetes version (for example, 1.19.10-gke.1000)

string version = 1;

Returns
TypeDescription
AzureK8sVersionInfo.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AzureK8sVersionInfo getDefaultInstanceForType()
Returns
TypeDescription
AzureK8sVersionInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getVersion()

public String getVersion()

A supported Kubernetes version (for example, 1.19.10-gke.1000)

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

A supported Kubernetes version (for example, 1.19.10-gke.1000)

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(AzureK8sVersionInfo other)

public AzureK8sVersionInfo.Builder mergeFrom(AzureK8sVersionInfo other)
Parameter
NameDescription
otherAzureK8sVersionInfo
Returns
TypeDescription
AzureK8sVersionInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public AzureK8sVersionInfo.Builder setVersion(String value)

A supported Kubernetes version (for example, 1.19.10-gke.1000)

string version = 1;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
AzureK8sVersionInfo.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public AzureK8sVersionInfo.Builder setVersionBytes(ByteString value)

A supported Kubernetes version (for example, 1.19.10-gke.1000)

string version = 1;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
AzureK8sVersionInfo.Builder

This builder for chaining.