Class AttachedPlatformVersionInfo.Builder (0.10.0)

public static final class AttachedPlatformVersionInfo.Builder extends GeneratedMessageV3.Builder<AttachedPlatformVersionInfo.Builder> implements AttachedPlatformVersionInfoOrBuilder

Information about a supported Attached Clusters platform version.

Protobuf type google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AttachedPlatformVersionInfo build()
Returns
TypeDescription
AttachedPlatformVersionInfo

buildPartial()

public AttachedPlatformVersionInfo buildPartial()
Returns
TypeDescription
AttachedPlatformVersionInfo

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public AttachedPlatformVersionInfo.Builder clearVersion()

Platform version name.

string version = 1;

Returns
TypeDescription
AttachedPlatformVersionInfo.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AttachedPlatformVersionInfo getDefaultInstanceForType()
Returns
TypeDescription
AttachedPlatformVersionInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getVersion()

public String getVersion()

Platform version name.

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Platform 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(AttachedPlatformVersionInfo other)

public AttachedPlatformVersionInfo.Builder mergeFrom(AttachedPlatformVersionInfo other)
Parameter
NameDescription
otherAttachedPlatformVersionInfo
Returns
TypeDescription
AttachedPlatformVersionInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public AttachedPlatformVersionInfo.Builder setVersion(String value)

Platform version name.

string version = 1;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
AttachedPlatformVersionInfo.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public AttachedPlatformVersionInfo.Builder setVersionBytes(ByteString value)

Platform version name.

string version = 1;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
AttachedPlatformVersionInfo.Builder

This builder for chaining.