Class VolumeTypeEnum.Builder (0.52.0)

public static final class VolumeTypeEnum.Builder extends GeneratedMessageV3.Builder<VolumeTypeEnum.Builder> implements VolumeTypeEnumOrBuilder

Message to encapsulate VolumeType enum.

Protobuf type google.cloud.gkebackup.v1.VolumeTypeEnum

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VolumeTypeEnum.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VolumeTypeEnum.Builder
Overrides

build()

public VolumeTypeEnum build()
Returns
Type Description
VolumeTypeEnum

buildPartial()

public VolumeTypeEnum buildPartial()
Returns
Type Description
VolumeTypeEnum

clear()

public VolumeTypeEnum.Builder clear()
Returns
Type Description
VolumeTypeEnum.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VolumeTypeEnum.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VolumeTypeEnum.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VolumeTypeEnum.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VolumeTypeEnum.Builder
Overrides

clone()

public VolumeTypeEnum.Builder clone()
Returns
Type Description
VolumeTypeEnum.Builder
Overrides

getDefaultInstanceForType()

public VolumeTypeEnum getDefaultInstanceForType()
Returns
Type Description
VolumeTypeEnum

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VolumeTypeEnum other)

public VolumeTypeEnum.Builder mergeFrom(VolumeTypeEnum other)
Parameter
Name Description
other VolumeTypeEnum
Returns
Type Description
VolumeTypeEnum.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VolumeTypeEnum.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VolumeTypeEnum.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VolumeTypeEnum.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VolumeTypeEnum.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VolumeTypeEnum.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VolumeTypeEnum.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VolumeTypeEnum.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VolumeTypeEnum.Builder
Overrides

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

public VolumeTypeEnum.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VolumeTypeEnum.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VolumeTypeEnum.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VolumeTypeEnum.Builder
Overrides