Class BiosDetails.Builder (0.22.0)

public static final class BiosDetails.Builder extends GeneratedMessageV3.Builder<BiosDetails.Builder> implements BiosDetailsOrBuilder

Details about the BIOS.

Protobuf type google.cloud.migrationcenter.v1.BiosDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BiosDetails build()
Returns
TypeDescription
BiosDetails

buildPartial()

public BiosDetails buildPartial()
Returns
TypeDescription
BiosDetails

clear()

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

clearBiosName() (deprecated)

public BiosDetails.Builder clearBiosName()

Deprecated. google.cloud.migrationcenter.v1.BiosDetails.bios_name is deprecated. See google/cloud/migrationcenter/v1/migrationcenter.proto;l=2509

BIOS name. This fields is deprecated. Please use the id field instead.

string bios_name = 1 [deprecated = true];

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public BiosDetails.Builder clearId()

BIOS ID.

string id = 2;

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

clearManufacturer()

public BiosDetails.Builder clearManufacturer()

BIOS manufacturer.

string manufacturer = 3;

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReleaseDate()

public BiosDetails.Builder clearReleaseDate()

BIOS release date.

.google.type.Date release_date = 5;

Returns
TypeDescription
BiosDetails.Builder

clearSmbiosUuid()

public BiosDetails.Builder clearSmbiosUuid()

SMBIOS UUID.

string smbios_uuid = 6;

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

clearVersion()

public BiosDetails.Builder clearVersion()

BIOS version.

string version = 4;

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

clone()

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

getBiosName() (deprecated)

public String getBiosName()

Deprecated. google.cloud.migrationcenter.v1.BiosDetails.bios_name is deprecated. See google/cloud/migrationcenter/v1/migrationcenter.proto;l=2509

BIOS name. This fields is deprecated. Please use the id field instead.

string bios_name = 1 [deprecated = true];

Returns
TypeDescription
String

The biosName.

getBiosNameBytes() (deprecated)

public ByteString getBiosNameBytes()

Deprecated. google.cloud.migrationcenter.v1.BiosDetails.bios_name is deprecated. See google/cloud/migrationcenter/v1/migrationcenter.proto;l=2509

BIOS name. This fields is deprecated. Please use the id field instead.

string bios_name = 1 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for biosName.

getDefaultInstanceForType()

public BiosDetails getDefaultInstanceForType()
Returns
TypeDescription
BiosDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String getId()

BIOS ID.

string id = 2;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

BIOS ID.

string id = 2;

Returns
TypeDescription
ByteString

The bytes for id.

getManufacturer()

public String getManufacturer()

BIOS manufacturer.

string manufacturer = 3;

Returns
TypeDescription
String

The manufacturer.

getManufacturerBytes()

public ByteString getManufacturerBytes()

BIOS manufacturer.

string manufacturer = 3;

Returns
TypeDescription
ByteString

The bytes for manufacturer.

getReleaseDate()

public Date getReleaseDate()

BIOS release date.

.google.type.Date release_date = 5;

Returns
TypeDescription
com.google.type.Date

The releaseDate.

getReleaseDateBuilder()

public Date.Builder getReleaseDateBuilder()

BIOS release date.

.google.type.Date release_date = 5;

Returns
TypeDescription
com.google.type.Date.Builder

getReleaseDateOrBuilder()

public DateOrBuilder getReleaseDateOrBuilder()

BIOS release date.

.google.type.Date release_date = 5;

Returns
TypeDescription
com.google.type.DateOrBuilder

getSmbiosUuid()

public String getSmbiosUuid()

SMBIOS UUID.

string smbios_uuid = 6;

Returns
TypeDescription
String

The smbiosUuid.

getSmbiosUuidBytes()

public ByteString getSmbiosUuidBytes()

SMBIOS UUID.

string smbios_uuid = 6;

Returns
TypeDescription
ByteString

The bytes for smbiosUuid.

getVersion()

public String getVersion()

BIOS version.

string version = 4;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

BIOS version.

string version = 4;

Returns
TypeDescription
ByteString

The bytes for version.

hasReleaseDate()

public boolean hasReleaseDate()

BIOS release date.

.google.type.Date release_date = 5;

Returns
TypeDescription
boolean

Whether the releaseDate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BiosDetails other)

public BiosDetails.Builder mergeFrom(BiosDetails other)
Parameter
NameDescription
otherBiosDetails
Returns
TypeDescription
BiosDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReleaseDate(Date value)

public BiosDetails.Builder mergeReleaseDate(Date value)

BIOS release date.

.google.type.Date release_date = 5;

Parameter
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
BiosDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBiosName(String value) (deprecated)

public BiosDetails.Builder setBiosName(String value)

Deprecated. google.cloud.migrationcenter.v1.BiosDetails.bios_name is deprecated. See google/cloud/migrationcenter/v1/migrationcenter.proto;l=2509

BIOS name. This fields is deprecated. Please use the id field instead.

string bios_name = 1 [deprecated = true];

Parameter
NameDescription
valueString

The biosName to set.

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

setBiosNameBytes(ByteString value) (deprecated)

public BiosDetails.Builder setBiosNameBytes(ByteString value)

Deprecated. google.cloud.migrationcenter.v1.BiosDetails.bios_name is deprecated. See google/cloud/migrationcenter/v1/migrationcenter.proto;l=2509

BIOS name. This fields is deprecated. Please use the id field instead.

string bios_name = 1 [deprecated = true];

Parameter
NameDescription
valueByteString

The bytes for biosName to set.

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public BiosDetails.Builder setId(String value)

BIOS ID.

string id = 2;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

setIdBytes(ByteString value)

public BiosDetails.Builder setIdBytes(ByteString value)

BIOS ID.

string id = 2;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

setManufacturer(String value)

public BiosDetails.Builder setManufacturer(String value)

BIOS manufacturer.

string manufacturer = 3;

Parameter
NameDescription
valueString

The manufacturer to set.

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

setManufacturerBytes(ByteString value)

public BiosDetails.Builder setManufacturerBytes(ByteString value)

BIOS manufacturer.

string manufacturer = 3;

Parameter
NameDescription
valueByteString

The bytes for manufacturer to set.

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

setReleaseDate(Date value)

public BiosDetails.Builder setReleaseDate(Date value)

BIOS release date.

.google.type.Date release_date = 5;

Parameter
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
BiosDetails.Builder

setReleaseDate(Date.Builder builderForValue)

public BiosDetails.Builder setReleaseDate(Date.Builder builderForValue)

BIOS release date.

.google.type.Date release_date = 5;

Parameter
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
BiosDetails.Builder

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

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

setSmbiosUuid(String value)

public BiosDetails.Builder setSmbiosUuid(String value)

SMBIOS UUID.

string smbios_uuid = 6;

Parameter
NameDescription
valueString

The smbiosUuid to set.

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

setSmbiosUuidBytes(ByteString value)

public BiosDetails.Builder setSmbiosUuidBytes(ByteString value)

SMBIOS UUID.

string smbios_uuid = 6;

Parameter
NameDescription
valueByteString

The bytes for smbiosUuid to set.

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public BiosDetails.Builder setVersion(String value)

BIOS version.

string version = 4;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public BiosDetails.Builder setVersionBytes(ByteString value)

BIOS version.

string version = 4;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
BiosDetails.Builder

This builder for chaining.