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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GuestOsFeature.BuilderImplements
GuestOsFeatureOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public GuestOsFeature.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GuestOsFeature.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestOsFeature.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GuestOsFeature.Builder |
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 |
getDefaultInstanceForType()
public GuestOsFeature getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GuestOsFeature |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GuestOsFeature.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GuestOsFeature.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestOsFeature.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GuestOsFeature.Builder |
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 |
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 |
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 |