Class BiosDetails.Builder (0.35.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BiosDetails build()
Returns
Type Description
BiosDetails

buildPartial()

public BiosDetails buildPartial()
Returns
Type Description
BiosDetails

clear()

public BiosDetails.Builder clear()
Returns
Type Description
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
Type Description
BiosDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public BiosDetails.Builder clearId()

BIOS ID.

string id = 2;

Returns
Type Description
BiosDetails.Builder

This builder for chaining.

clearManufacturer()

public BiosDetails.Builder clearManufacturer()

BIOS manufacturer.

string manufacturer = 3;

Returns
Type Description
BiosDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReleaseDate()

public BiosDetails.Builder clearReleaseDate()

BIOS release date.

.google.type.Date release_date = 5;

Returns
Type Description
BiosDetails.Builder

clearSmbiosUuid()

public BiosDetails.Builder clearSmbiosUuid()

SMBIOS UUID.

string smbios_uuid = 6;

Returns
Type Description
BiosDetails.Builder

This builder for chaining.

clearVersion()

public BiosDetails.Builder clearVersion()

BIOS version.

string version = 4;

Returns
Type Description
BiosDetails.Builder

This builder for chaining.

clone()

public BiosDetails.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for biosName.

getDefaultInstanceForType()

public BiosDetails getDefaultInstanceForType()
Returns
Type Description
BiosDetails

getDescriptorForType()

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

getId()

public String getId()

BIOS ID.

string id = 2;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

BIOS ID.

string id = 2;

Returns
Type Description
ByteString

The bytes for id.

getManufacturer()

public String getManufacturer()

BIOS manufacturer.

string manufacturer = 3;

Returns
Type Description
String

The manufacturer.

getManufacturerBytes()

public ByteString getManufacturerBytes()

BIOS manufacturer.

string manufacturer = 3;

Returns
Type Description
ByteString

The bytes for manufacturer.

getReleaseDate()

public Date getReleaseDate()

BIOS release date.

.google.type.Date release_date = 5;

Returns
Type Description
com.google.type.Date

The releaseDate.

getReleaseDateBuilder()

public Date.Builder getReleaseDateBuilder()

BIOS release date.

.google.type.Date release_date = 5;

Returns
Type Description
com.google.type.Date.Builder

getReleaseDateOrBuilder()

public DateOrBuilder getReleaseDateOrBuilder()

BIOS release date.

.google.type.Date release_date = 5;

Returns
Type Description
com.google.type.DateOrBuilder

getSmbiosUuid()

public String getSmbiosUuid()

SMBIOS UUID.

string smbios_uuid = 6;

Returns
Type Description
String

The smbiosUuid.

getSmbiosUuidBytes()

public ByteString getSmbiosUuidBytes()

SMBIOS UUID.

string smbios_uuid = 6;

Returns
Type Description
ByteString

The bytes for smbiosUuid.

getVersion()

public String getVersion()

BIOS version.

string version = 4;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

BIOS version.

string version = 4;

Returns
Type Description
ByteString

The bytes for version.

hasReleaseDate()

public boolean hasReleaseDate()

BIOS release date.

.google.type.Date release_date = 5;

Returns
Type Description
boolean

Whether the releaseDate field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BiosDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReleaseDate(Date value)

public BiosDetails.Builder mergeReleaseDate(Date value)

BIOS release date.

.google.type.Date release_date = 5;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
BiosDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BiosDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The biosName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for biosName to set.

Returns
Type Description
BiosDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public BiosDetails.Builder setId(String value)

BIOS ID.

string id = 2;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
BiosDetails.Builder

This builder for chaining.

setIdBytes(ByteString value)

public BiosDetails.Builder setIdBytes(ByteString value)

BIOS ID.

string id = 2;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
BiosDetails.Builder

This builder for chaining.

setManufacturer(String value)

public BiosDetails.Builder setManufacturer(String value)

BIOS manufacturer.

string manufacturer = 3;

Parameter
Name Description
value String

The manufacturer to set.

Returns
Type Description
BiosDetails.Builder

This builder for chaining.

setManufacturerBytes(ByteString value)

public BiosDetails.Builder setManufacturerBytes(ByteString value)

BIOS manufacturer.

string manufacturer = 3;

Parameter
Name Description
value ByteString

The bytes for manufacturer to set.

Returns
Type Description
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
Name Description
value com.google.type.Date
Returns
Type Description
BiosDetails.Builder

setReleaseDate(Date.Builder builderForValue)

public BiosDetails.Builder setReleaseDate(Date.Builder builderForValue)

BIOS release date.

.google.type.Date release_date = 5;

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
BiosDetails.Builder

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

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

setSmbiosUuid(String value)

public BiosDetails.Builder setSmbiosUuid(String value)

SMBIOS UUID.

string smbios_uuid = 6;

Parameter
Name Description
value String

The smbiosUuid to set.

Returns
Type Description
BiosDetails.Builder

This builder for chaining.

setSmbiosUuidBytes(ByteString value)

public BiosDetails.Builder setSmbiosUuidBytes(ByteString value)

SMBIOS UUID.

string smbios_uuid = 6;

Parameter
Name Description
value ByteString

The bytes for smbiosUuid to set.

Returns
Type Description
BiosDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public BiosDetails.Builder setVersion(String value)

BIOS version.

string version = 4;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
BiosDetails.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public BiosDetails.Builder setVersionBytes(ByteString value)

BIOS version.

string version = 4;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
BiosDetails.Builder

This builder for chaining.