Class GuestOsFeature.Builder (0.12.0)

public static final class GuestOsFeature.Builder extends GeneratedMessageV3.Builder<GuestOsFeature.Builder> implements GuestOsFeatureOrBuilder

Feature type of the Guest OS.

Protobuf type google.cloud.backupdr.v1.GuestOsFeature

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GuestOsFeature build()
Returns
Type Description
GuestOsFeature

buildPartial()

public GuestOsFeature buildPartial()
Returns
Type Description
GuestOsFeature

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public GuestOsFeature.Builder clearType()

The ID of a supported feature.

optional .google.cloud.backupdr.v1.GuestOsFeature.FeatureType type = 1;

Returns
Type Description
GuestOsFeature.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GuestOsFeature getDefaultInstanceForType()
Returns
Type Description
GuestOsFeature

getDescriptorForType()

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

getType()

public GuestOsFeature.FeatureType getType()

The ID of a supported feature.

optional .google.cloud.backupdr.v1.GuestOsFeature.FeatureType type = 1;

Returns
Type Description
GuestOsFeature.FeatureType

The type.

getTypeValue()

public int getTypeValue()

The ID of a supported feature.

optional .google.cloud.backupdr.v1.GuestOsFeature.FeatureType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasType()

public boolean hasType()

The ID of a supported feature.

optional .google.cloud.backupdr.v1.GuestOsFeature.FeatureType type = 1;

Returns
Type Description
boolean

Whether the type field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GuestOsFeature other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setType(GuestOsFeature.FeatureType value)

public GuestOsFeature.Builder setType(GuestOsFeature.FeatureType value)

The ID of a supported feature.

optional .google.cloud.backupdr.v1.GuestOsFeature.FeatureType type = 1;

Parameter
Name Description
value GuestOsFeature.FeatureType

The type to set.

Returns
Type Description
GuestOsFeature.Builder

This builder for chaining.

setTypeValue(int value)

public GuestOsFeature.Builder setTypeValue(int value)

The ID of a supported feature.

optional .google.cloud.backupdr.v1.GuestOsFeature.FeatureType type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
GuestOsFeature.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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