Class Version.Builder (0.36.0)

public static final class Version.Builder extends GeneratedMessageV3.Builder<Version.Builder> implements VersionOrBuilder

Version of a cluster.

Protobuf type google.cloud.edgecontainer.v1.Version

Implements

VersionOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Version build()
Returns
TypeDescription
Version

buildPartial()

public Version buildPartial()
Returns
TypeDescription
Version

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Version.Builder clearName()

Output only. Name of the version, e.g.: "1.4.0".

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Version.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public Version getDefaultInstanceForType()
Returns
TypeDescription
Version

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Output only. Name of the version, e.g.: "1.4.0".

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Name of the version, e.g.: "1.4.0".

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Version other)

public Version.Builder mergeFrom(Version other)
Parameter
NameDescription
otherVersion
Returns
TypeDescription
Version.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Version.Builder setName(String value)

Output only. Name of the version, e.g.: "1.4.0".

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Version.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Version.Builder setNameBytes(ByteString value)

Output only. Name of the version, e.g.: "1.4.0".

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Version.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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