Class AwsK8sVersionInfo.Builder (0.10.0)

public static final class AwsK8sVersionInfo.Builder extends GeneratedMessageV3.Builder<AwsK8sVersionInfo.Builder> implements AwsK8sVersionInfoOrBuilder

Kubernetes version information of GKE cluster on AWS.

Protobuf type google.cloud.gkemulticloud.v1.AwsK8sVersionInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsK8sVersionInfo build()
Returns
TypeDescription
AwsK8sVersionInfo

buildPartial()

public AwsK8sVersionInfo buildPartial()
Returns
TypeDescription
AwsK8sVersionInfo

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public AwsK8sVersionInfo.Builder clearVersion()

Kubernetes version name.

string version = 1;

Returns
TypeDescription
AwsK8sVersionInfo.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AwsK8sVersionInfo getDefaultInstanceForType()
Returns
TypeDescription
AwsK8sVersionInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getVersion()

public String getVersion()

Kubernetes version name.

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Kubernetes version name.

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

public AwsK8sVersionInfo.Builder mergeFrom(AwsK8sVersionInfo other)
Parameter
NameDescription
otherAwsK8sVersionInfo
Returns
TypeDescription
AwsK8sVersionInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public AwsK8sVersionInfo.Builder setVersion(String value)

Kubernetes version name.

string version = 1;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
AwsK8sVersionInfo.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public AwsK8sVersionInfo.Builder setVersionBytes(ByteString value)

Kubernetes version name.

string version = 1;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
AwsK8sVersionInfo.Builder

This builder for chaining.