public final class Asset extends GeneratedMessage implements AssetOrBuilderInformation about a compute asset such as a workstation, laptop, phone, virtual desktop, or VM.
Protobuf type google.backstory.Asset
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AssetImplements
AssetOrBuilderStatic Fields
ASSET_ID_FIELD_NUMBER
public static final int ASSET_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ATTRIBUTE_FIELD_NUMBER
public static final int ATTRIBUTE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CATEGORY_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CREATION_TIME_FIELD_NUMBER
public static final int CREATION_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DEPLOYMENT_STATUS_FIELD_NUMBER
public static final int DEPLOYMENT_STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
FIRST_DISCOVER_TIME_FIELD_NUMBER
public static final int FIRST_DISCOVER_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
FIRST_SEEN_TIME_FIELD_NUMBER
public static final int FIRST_SEEN_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
HARDWARE_FIELD_NUMBER
public static final int HARDWARE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
IP_FIELD_NUMBER
public static final int IP_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LAST_BOOT_TIME_FIELD_NUMBER
public static final int LAST_BOOT_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LAST_DISCOVER_TIME_FIELD_NUMBER
public static final int LAST_DISCOVER_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MAC_FIELD_NUMBER
public static final int MAC_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NAT_IP_FIELD_NUMBER
public static final int NAT_IP_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NETWORK_DOMAIN_FIELD_NUMBER
public static final int NETWORK_DOMAIN_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PLATFORM_SOFTWARE_FIELD_NUMBER
public static final int PLATFORM_SOFTWARE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PRODUCT_OBJECT_ID_FIELD_NUMBER
public static final int PRODUCT_OBJECT_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SOFTWARE_FIELD_NUMBER
public static final int SOFTWARE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SYSTEM_LAST_UPDATE_TIME_FIELD_NUMBER
public static final int SYSTEM_LAST_UPDATE_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VULNERABILITIES_FIELD_NUMBER
public static final int VULNERABILITIES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
WMI_PERSISTENCE_ITEM_FIELD_NUMBER
public static final int WMI_PERSISTENCE_ITEM_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Asset getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Asset |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Asset.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
newBuilder(Asset prototype)
public static Asset.Builder newBuilder(Asset prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Asset |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
parseDelimitedFrom(InputStream input)
public static Asset parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Asset |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Asset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Asset |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Asset parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Asset |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Asset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Asset |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Asset parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Asset |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Asset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Asset |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Asset parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Asset |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Asset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Asset |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Asset parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Asset |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Asset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Asset |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Asset parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Asset |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Asset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Asset |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Asset> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Asset> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAssetId()
public 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 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 Attribute getAttribute()Generic entity metadata attributes of the asset.
.google.backstory.Attribute attribute = 20;
| Returns | |
|---|---|
| Type | Description |
Attribute |
The attribute. |
getAttributeOrBuilder()
public AttributeOrBuilder getAttributeOrBuilder()Generic entity metadata attributes of the asset.
.google.backstory.Attribute attribute = 20;
| Returns | |
|---|---|
| Type | Description |
AttributeOrBuilder |
|
getCategory()
public 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 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 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 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 |
|
getDefaultInstanceForType()
public Asset getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Asset |
|
getDeploymentStatus()
public 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 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 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 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 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 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 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 int getHardwareCount()The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Returns | |
|---|---|
| Type | Description |
int |
|
getHardwareList()
public List<Hardware> getHardwareList()The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Returns | |
|---|---|
| Type | Description |
List<Hardware> |
|
getHardwareOrBuilder(int index)
public 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 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 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 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 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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The ip at the given index. |
getIpBytes(int index)
public 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 |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the ip at the given index. |
getIpCount()
public 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the ip. |
getLabels(int index) (deprecated)
public 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 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 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 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 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 Timestamp getLastBootTime()Time the asset was last boot started.
.google.protobuf.Timestamp last_boot_time = 15;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The lastBootTime. |
getLastBootTimeOrBuilder()
public TimestampOrBuilder getLastBootTimeOrBuilder()Time the asset was last boot started.
.google.protobuf.Timestamp last_boot_time = 15;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getLastDiscoverTime()
public 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 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 Location getLocation()Location of the asset.
.google.backstory.Location location = 8;
| Returns | |
|---|---|
| Type | Description |
Location |
The location. |
getLocationOrBuilder()
public LocationOrBuilder getLocationOrBuilder()Location of the asset.
.google.backstory.Location location = 8;
| Returns | |
|---|---|
| Type | Description |
LocationOrBuilder |
|
getMac(int index)
public 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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The mac at the given index. |
getMacBytes(int index)
public 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 |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the mac at the given index. |
getMacCount()
public 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the mac. |
getNatIp(int index)
public String getNatIp(int index)List of NAT IP addresses associated with an asset.
repeated string nat_ip = 22;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The natIp at the given index. |
getNatIpBytes(int index)
public ByteString getNatIpBytes(int index)List of NAT IP addresses associated with an asset.
repeated string nat_ip = 22;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the natIp at the given index. |
getNatIpCount()
public 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 ProtocolStringList getNatIpList()List of NAT IP addresses associated with an asset.
repeated string nat_ip = 22;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the natIp. |
getNetworkDomain()
public 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 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. |
getParserForType()
public Parser<Asset> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Asset> |
|
getPlatformSoftware()
public PlatformSoftware getPlatformSoftware()The asset operating system platform software.
.google.backstory.PlatformSoftware platform_software = 7;
| Returns | |
|---|---|
| Type | Description |
PlatformSoftware |
The platformSoftware. |
getPlatformSoftwareOrBuilder()
public PlatformSoftwareOrBuilder getPlatformSoftwareOrBuilder()The asset operating system platform software.
.google.backstory.PlatformSoftware platform_software = 7;
| Returns | |
|---|---|
| Type | Description |
PlatformSoftwareOrBuilder |
|
getProductObjectId()
public 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 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. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSoftware(int index)
public 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 int getSoftwareCount()The asset software details.
repeated .google.backstory.Software software = 17;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSoftwareList()
public List<Software> getSoftwareList()The asset software details.
repeated .google.backstory.Software software = 17;
| Returns | |
|---|---|
| Type | Description |
List<Software> |
|
getSoftwareOrBuilder(int index)
public 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 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 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 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 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 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 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 int getVulnerabilitiesCount()Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Returns | |
|---|---|
| Type | Description |
int |
|
getVulnerabilitiesList()
public List<Vulnerability> getVulnerabilitiesList()Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Returns | |
|---|---|
| Type | Description |
List<Vulnerability> |
|
getVulnerabilitiesOrBuilder(int index)
public 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 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 WmiPersistenceItem getWmiPersistenceItem()Information about a WMI persistence item.
.google.backstory.WmiPersistenceItem wmi_persistence_item = 24;
| Returns | |
|---|---|
| Type | Description |
WmiPersistenceItem |
The wmiPersistenceItem. |
getWmiPersistenceItemOrBuilder()
public WmiPersistenceItemOrBuilder getWmiPersistenceItemOrBuilder()Information about a WMI persistence item.
.google.backstory.WmiPersistenceItem wmi_persistence_item = 24;
| Returns | |
|---|---|
| Type | Description |
WmiPersistenceItemOrBuilder |
|
hasAttribute()
public 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 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 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 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 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 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 boolean hasLocation()Location of the asset.
.google.backstory.Location location = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the location field is set. |
hasPlatformSoftware()
public 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 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 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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Asset.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Asset.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
toBuilder()
public Asset.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|