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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GuestOsFeature.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GuestOsFeature build()
buildPartial()
public GuestOsFeature buildPartial()
clear()
public GuestOsFeature.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GuestOsFeature.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestOsFeature.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearType()
public GuestOsFeature.Builder clearType()
The ID of a supported feature.
optional .google.cloud.backupdr.v1.GuestOsFeature.FeatureType type = 1;
clone()
public GuestOsFeature.Builder clone()
Overrides
getDefaultInstanceForType()
public GuestOsFeature getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getType()
public GuestOsFeature.FeatureType getType()
The ID of a supported feature.
optional .google.cloud.backupdr.v1.GuestOsFeature.FeatureType type = 1;
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()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GuestOsFeature other)
public GuestOsFeature.Builder mergeFrom(GuestOsFeature other)
public GuestOsFeature.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GuestOsFeature.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestOsFeature.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GuestOsFeature.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GuestOsFeature.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GuestOsFeature.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides