Interface AssetOrBuilder (0.3.0)

public interface AssetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssetId()

public abstract String getAssetId()

The asset ID. Value must contain the ':' character. For example, cs:abcdd23434. This field can be used as an entity indicator for asset entities.

string asset_id = 3;

Returns
Type Description
String

The assetId.

getAssetIdBytes()

public abstract ByteString getAssetIdBytes()

The asset ID. Value must contain the ':' character. For example, cs:abcdd23434. This field can be used as an entity indicator for asset entities.

string asset_id = 3;

Returns
Type Description
ByteString

The bytes for assetId.

getAttribute()

public abstract Attribute getAttribute()

Generic entity metadata attributes of the asset.

.google.backstory.Attribute attribute = 20;

Returns
Type Description
Attribute

The attribute.

getAttributeOrBuilder()

public abstract AttributeOrBuilder getAttributeOrBuilder()

Generic entity metadata attributes of the asset.

.google.backstory.Attribute attribute = 20;

Returns
Type Description
AttributeOrBuilder

getCategory()

public abstract String getCategory()

The category of the asset (e.g. "End User Asset", "Workstation", "Server").

string category = 9;

Returns
Type Description
String

The category.

getCategoryBytes()

public abstract ByteString getCategoryBytes()

The category of the asset (e.g. "End User Asset", "Workstation", "Server").

string category = 9;

Returns
Type Description
ByteString

The bytes for category.

getCreationTime() (deprecated)

public abstract Timestamp getCreationTime()

Deprecated. google.backstory.Asset.creation_time is deprecated. See backstory/udm.proto;l=4670

Time the asset was created or provisioned. Deprecate: creation_time should be populated in Attribute as generic metadata.

.google.protobuf.Timestamp creation_time = 11 [deprecated = true];

Returns
Type Description
Timestamp

The creationTime.

getCreationTimeOrBuilder() (deprecated)

public abstract TimestampOrBuilder getCreationTimeOrBuilder()

Time the asset was created or provisioned. Deprecate: creation_time should be populated in Attribute as generic metadata.

.google.protobuf.Timestamp creation_time = 11 [deprecated = true];

Returns
Type Description
TimestampOrBuilder

getDeploymentStatus()

public abstract Asset.DeploymentStatus getDeploymentStatus()

The deployment status of the asset for device lifecycle purposes.

.google.backstory.Asset.DeploymentStatus deployment_status = 19;

Returns
Type Description
Asset.DeploymentStatus

The deploymentStatus.

getDeploymentStatusValue()

public abstract int getDeploymentStatusValue()

The deployment status of the asset for device lifecycle purposes.

.google.backstory.Asset.DeploymentStatus deployment_status = 19;

Returns
Type Description
int

The enum numeric value on the wire for deploymentStatus.

getFirstDiscoverTime()

public abstract Timestamp getFirstDiscoverTime()

Time the asset was first discovered (by asset management/discoverability software).

.google.protobuf.Timestamp first_discover_time = 12;

Returns
Type Description
Timestamp

The firstDiscoverTime.

getFirstDiscoverTimeOrBuilder()

public abstract TimestampOrBuilder getFirstDiscoverTimeOrBuilder()

Time the asset was first discovered (by asset management/discoverability software).

.google.protobuf.Timestamp first_discover_time = 12;

Returns
Type Description
TimestampOrBuilder

getFirstSeenTime()

public abstract Timestamp getFirstSeenTime()

The first observed time for an asset. The value is calculated on the basis of the first time the identifier was observed.

.google.protobuf.Timestamp first_seen_time = 23;

Returns
Type Description
Timestamp

The firstSeenTime.

getFirstSeenTimeOrBuilder()

public abstract TimestampOrBuilder getFirstSeenTimeOrBuilder()

The first observed time for an asset. The value is calculated on the basis of the first time the identifier was observed.

.google.protobuf.Timestamp first_seen_time = 23;

Returns
Type Description
TimestampOrBuilder

getHardware(int index)

public abstract Hardware getHardware(int index)

The asset hardware specifications.

repeated .google.backstory.Hardware hardware = 6;

Parameter
Name Description
index int
Returns
Type Description
Hardware

getHardwareCount()

public abstract int getHardwareCount()

The asset hardware specifications.

repeated .google.backstory.Hardware hardware = 6;

Returns
Type Description
int

getHardwareList()

public abstract List<Hardware> getHardwareList()

The asset hardware specifications.

repeated .google.backstory.Hardware hardware = 6;

Returns
Type Description
List<Hardware>

getHardwareOrBuilder(int index)

public abstract HardwareOrBuilder getHardwareOrBuilder(int index)

The asset hardware specifications.

repeated .google.backstory.Hardware hardware = 6;

Parameter
Name Description
index int
Returns
Type Description
HardwareOrBuilder

getHardwareOrBuilderList()

public abstract List<? extends HardwareOrBuilder> getHardwareOrBuilderList()

The asset hardware specifications.

repeated .google.backstory.Hardware hardware = 6;

Returns
Type Description
List<? extends com.google.backstory.HardwareOrBuilder>

getHostname()

public abstract String getHostname()

Asset hostname or domain name field. This field can be used as an entity indicator for asset entities.

string hostname = 2;

Returns
Type Description
String

The hostname.

getHostnameBytes()

public abstract ByteString getHostnameBytes()

Asset hostname or domain name field. This field can be used as an entity indicator for asset entities.

string hostname = 2;

Returns
Type Description
ByteString

The bytes for hostname.

getIp(int index)

public abstract String getIp(int index)

A list of IP addresses associated with an asset. This field can be used as an entity indicator for asset entities.

repeated string ip = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The ip at the given index.

getIpBytes(int index)

public abstract ByteString getIpBytes(int index)

A list of IP addresses associated with an asset. This field can be used as an entity indicator for asset entities.

repeated string ip = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the ip at the given index.

getIpCount()

public abstract int getIpCount()

A list of IP addresses associated with an asset. This field can be used as an entity indicator for asset entities.

repeated string ip = 4;

Returns
Type Description
int

The count of ip.

getIpList()

public abstract List<String> getIpList()

A list of IP addresses associated with an asset. This field can be used as an entity indicator for asset entities.

repeated string ip = 4;

Returns
Type Description
List<String>

A list containing the ip.

getLabels(int index) (deprecated)

public abstract Label getLabels(int index)

Metadata labels for the asset. Deprecated: labels should be populated in Attribute as generic metadata.

repeated .google.backstory.Label labels = 16 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
Label

getLabelsCount() (deprecated)

public abstract int getLabelsCount()

Metadata labels for the asset. Deprecated: labels should be populated in Attribute as generic metadata.

repeated .google.backstory.Label labels = 16 [deprecated = true];

Returns
Type Description
int

getLabelsList() (deprecated)

public abstract List<Label> getLabelsList()

Metadata labels for the asset. Deprecated: labels should be populated in Attribute as generic metadata.

repeated .google.backstory.Label labels = 16 [deprecated = true];

Returns
Type Description
List<Label>

getLabelsOrBuilder(int index) (deprecated)

public abstract LabelOrBuilder getLabelsOrBuilder(int index)

Metadata labels for the asset. Deprecated: labels should be populated in Attribute as generic metadata.

repeated .google.backstory.Label labels = 16 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
LabelOrBuilder

getLabelsOrBuilderList() (deprecated)

public abstract List<? extends LabelOrBuilder> getLabelsOrBuilderList()

Metadata labels for the asset. Deprecated: labels should be populated in Attribute as generic metadata.

repeated .google.backstory.Label labels = 16 [deprecated = true];

Returns
Type Description
List<? extends com.google.backstory.LabelOrBuilder>

getLastBootTime()

public abstract Timestamp getLastBootTime()

Time the asset was last boot started.

.google.protobuf.Timestamp last_boot_time = 15;

Returns
Type Description
Timestamp

The lastBootTime.

getLastBootTimeOrBuilder()

public abstract TimestampOrBuilder getLastBootTimeOrBuilder()

Time the asset was last boot started.

.google.protobuf.Timestamp last_boot_time = 15;

Returns
Type Description
TimestampOrBuilder

getLastDiscoverTime()

public abstract Timestamp getLastDiscoverTime()

Time the asset was last discovered (by asset management/discoverability software).

.google.protobuf.Timestamp last_discover_time = 13;

Returns
Type Description
Timestamp

The lastDiscoverTime.

getLastDiscoverTimeOrBuilder()

public abstract TimestampOrBuilder getLastDiscoverTimeOrBuilder()

Time the asset was last discovered (by asset management/discoverability software).

.google.protobuf.Timestamp last_discover_time = 13;

Returns
Type Description
TimestampOrBuilder

getLocation()

public abstract Location getLocation()

Location of the asset.

.google.backstory.Location location = 8;

Returns
Type Description
Location

The location.

getLocationOrBuilder()

public abstract LocationOrBuilder getLocationOrBuilder()

Location of the asset.

.google.backstory.Location location = 8;

Returns
Type Description
LocationOrBuilder

getMac(int index)

public abstract String getMac(int index)

List of MAC addresses associated with an asset. This field can be used as an entity indicator for asset entities.

repeated string mac = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The mac at the given index.

getMacBytes(int index)

public abstract ByteString getMacBytes(int index)

List of MAC addresses associated with an asset. This field can be used as an entity indicator for asset entities.

repeated string mac = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the mac at the given index.

getMacCount()

public abstract int getMacCount()

List of MAC addresses associated with an asset. This field can be used as an entity indicator for asset entities.

repeated string mac = 5;

Returns
Type Description
int

The count of mac.

getMacList()

public abstract List<String> getMacList()

List of MAC addresses associated with an asset. This field can be used as an entity indicator for asset entities.

repeated string mac = 5;

Returns
Type Description
List<String>

A list containing the mac.

getNatIp(int index)

public abstract String getNatIp(int index)

List of NAT IP addresses associated with an asset.

repeated string nat_ip = 22;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The natIp at the given index.

getNatIpBytes(int index)

public abstract ByteString getNatIpBytes(int index)

List of NAT IP addresses associated with an asset.

repeated string nat_ip = 22;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the natIp at the given index.

getNatIpCount()

public abstract int getNatIpCount()

List of NAT IP addresses associated with an asset.

repeated string nat_ip = 22;

Returns
Type Description
int

The count of natIp.

getNatIpList()

public abstract List<String> getNatIpList()

List of NAT IP addresses associated with an asset.

repeated string nat_ip = 22;

Returns
Type Description
List<String>

A list containing the natIp.

getNetworkDomain()

public abstract String getNetworkDomain()

The network domain of the asset (e.g. "corp.acme.com")

string network_domain = 10;

Returns
Type Description
String

The networkDomain.

getNetworkDomainBytes()

public abstract ByteString getNetworkDomainBytes()

The network domain of the asset (e.g. "corp.acme.com")

string network_domain = 10;

Returns
Type Description
ByteString

The bytes for networkDomain.

getPlatformSoftware()

public abstract PlatformSoftware getPlatformSoftware()

The asset operating system platform software.

.google.backstory.PlatformSoftware platform_software = 7;

Returns
Type Description
PlatformSoftware

The platformSoftware.

getPlatformSoftwareOrBuilder()

public abstract PlatformSoftwareOrBuilder getPlatformSoftwareOrBuilder()

The asset operating system platform software.

.google.backstory.PlatformSoftware platform_software = 7;

Returns
Type Description
PlatformSoftwareOrBuilder

getProductObjectId()

public abstract String getProductObjectId()

A vendor-specific identifier to uniquely identify the entity (a GUID or similar). This field can be used as an entity indicator for asset entities.

string product_object_id = 1;

Returns
Type Description
String

The productObjectId.

getProductObjectIdBytes()

public abstract ByteString getProductObjectIdBytes()

A vendor-specific identifier to uniquely identify the entity (a GUID or similar). This field can be used as an entity indicator for asset entities.

string product_object_id = 1;

Returns
Type Description
ByteString

The bytes for productObjectId.

getSoftware(int index)

public abstract Software getSoftware(int index)

The asset software details.

repeated .google.backstory.Software software = 17;

Parameter
Name Description
index int
Returns
Type Description
Software

getSoftwareCount()

public abstract int getSoftwareCount()

The asset software details.

repeated .google.backstory.Software software = 17;

Returns
Type Description
int

getSoftwareList()

public abstract List<Software> getSoftwareList()

The asset software details.

repeated .google.backstory.Software software = 17;

Returns
Type Description
List<Software>

getSoftwareOrBuilder(int index)

public abstract SoftwareOrBuilder getSoftwareOrBuilder(int index)

The asset software details.

repeated .google.backstory.Software software = 17;

Parameter
Name Description
index int
Returns
Type Description
SoftwareOrBuilder

getSoftwareOrBuilderList()

public abstract List<? extends SoftwareOrBuilder> getSoftwareOrBuilderList()

The asset software details.

repeated .google.backstory.Software software = 17;

Returns
Type Description
List<? extends com.google.backstory.SoftwareOrBuilder>

getSystemLastUpdateTime()

public abstract Timestamp getSystemLastUpdateTime()

Time the asset system or OS was last updated. For all other operations that are not system updates (such as resizing a VM), use Attribute.last_update_time.

.google.protobuf.Timestamp system_last_update_time = 14;

Returns
Type Description
Timestamp

The systemLastUpdateTime.

getSystemLastUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getSystemLastUpdateTimeOrBuilder()

Time the asset system or OS was last updated. For all other operations that are not system updates (such as resizing a VM), use Attribute.last_update_time.

.google.protobuf.Timestamp system_last_update_time = 14;

Returns
Type Description
TimestampOrBuilder

getType()

public abstract Asset.AssetType getType()

The type of the asset (e.g. workstation or laptop or server).

.google.backstory.Asset.AssetType type = 18;

Returns
Type Description
Asset.AssetType

The type.

getTypeValue()

public abstract int getTypeValue()

The type of the asset (e.g. workstation or laptop or server).

.google.backstory.Asset.AssetType type = 18;

Returns
Type Description
int

The enum numeric value on the wire for type.

getVulnerabilities(int index)

public abstract Vulnerability getVulnerabilities(int index)

Vulnerabilities discovered on asset.

repeated .google.backstory.Vulnerability vulnerabilities = 21;

Parameter
Name Description
index int
Returns
Type Description
Vulnerability

getVulnerabilitiesCount()

public abstract int getVulnerabilitiesCount()

Vulnerabilities discovered on asset.

repeated .google.backstory.Vulnerability vulnerabilities = 21;

Returns
Type Description
int

getVulnerabilitiesList()

public abstract List<Vulnerability> getVulnerabilitiesList()

Vulnerabilities discovered on asset.

repeated .google.backstory.Vulnerability vulnerabilities = 21;

Returns
Type Description
List<Vulnerability>

getVulnerabilitiesOrBuilder(int index)

public abstract VulnerabilityOrBuilder getVulnerabilitiesOrBuilder(int index)

Vulnerabilities discovered on asset.

repeated .google.backstory.Vulnerability vulnerabilities = 21;

Parameter
Name Description
index int
Returns
Type Description
VulnerabilityOrBuilder

getVulnerabilitiesOrBuilderList()

public abstract List<? extends VulnerabilityOrBuilder> getVulnerabilitiesOrBuilderList()

Vulnerabilities discovered on asset.

repeated .google.backstory.Vulnerability vulnerabilities = 21;

Returns
Type Description
List<? extends com.google.backstory.VulnerabilityOrBuilder>

getWmiPersistenceItem()

public abstract WmiPersistenceItem getWmiPersistenceItem()

Information about a WMI persistence item.

.google.backstory.WmiPersistenceItem wmi_persistence_item = 24;

Returns
Type Description
WmiPersistenceItem

The wmiPersistenceItem.

getWmiPersistenceItemOrBuilder()

public abstract WmiPersistenceItemOrBuilder getWmiPersistenceItemOrBuilder()

Information about a WMI persistence item.

.google.backstory.WmiPersistenceItem wmi_persistence_item = 24;

Returns
Type Description
WmiPersistenceItemOrBuilder

hasAttribute()

public abstract boolean hasAttribute()

Generic entity metadata attributes of the asset.

.google.backstory.Attribute attribute = 20;

Returns
Type Description
boolean

Whether the attribute field is set.

hasCreationTime() (deprecated)

public abstract boolean hasCreationTime()

Deprecated. google.backstory.Asset.creation_time is deprecated. See backstory/udm.proto;l=4670

Time the asset was created or provisioned. Deprecate: creation_time should be populated in Attribute as generic metadata.

.google.protobuf.Timestamp creation_time = 11 [deprecated = true];

Returns
Type Description
boolean

Whether the creationTime field is set.

hasFirstDiscoverTime()

public abstract boolean hasFirstDiscoverTime()

Time the asset was first discovered (by asset management/discoverability software).

.google.protobuf.Timestamp first_discover_time = 12;

Returns
Type Description
boolean

Whether the firstDiscoverTime field is set.

hasFirstSeenTime()

public abstract boolean hasFirstSeenTime()

The first observed time for an asset. The value is calculated on the basis of the first time the identifier was observed.

.google.protobuf.Timestamp first_seen_time = 23;

Returns
Type Description
boolean

Whether the firstSeenTime field is set.

hasLastBootTime()

public abstract boolean hasLastBootTime()

Time the asset was last boot started.

.google.protobuf.Timestamp last_boot_time = 15;

Returns
Type Description
boolean

Whether the lastBootTime field is set.

hasLastDiscoverTime()

public abstract boolean hasLastDiscoverTime()

Time the asset was last discovered (by asset management/discoverability software).

.google.protobuf.Timestamp last_discover_time = 13;

Returns
Type Description
boolean

Whether the lastDiscoverTime field is set.

hasLocation()

public abstract boolean hasLocation()

Location of the asset.

.google.backstory.Location location = 8;

Returns
Type Description
boolean

Whether the location field is set.

hasPlatformSoftware()

public abstract boolean hasPlatformSoftware()

The asset operating system platform software.

.google.backstory.PlatformSoftware platform_software = 7;

Returns
Type Description
boolean

Whether the platformSoftware field is set.

hasSystemLastUpdateTime()

public abstract boolean hasSystemLastUpdateTime()

Time the asset system or OS was last updated. For all other operations that are not system updates (such as resizing a VM), use Attribute.last_update_time.

.google.protobuf.Timestamp system_last_update_time = 14;

Returns
Type Description
boolean

Whether the systemLastUpdateTime field is set.

hasWmiPersistenceItem()

public abstract boolean hasWmiPersistenceItem()

Information about a WMI persistence item.

.google.backstory.WmiPersistenceItem wmi_persistence_item = 24;

Returns
Type Description
boolean

Whether the wmiPersistenceItem field is set.