public static final class Asset.Builder extends GeneratedMessage.Builder<Asset.Builder> implements AssetOrBuilderInformation about a compute asset such as a workstation, laptop, phone, virtual desktop, or VM.
Protobuf type google.backstory.Asset
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Asset.BuilderImplements
AssetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllHardware(Iterable<? extends Hardware> values)
public Asset.Builder addAllHardware(Iterable<? extends Hardware> values)The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.backstory.Hardware> |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addAllIp(Iterable<String> values)
public Asset.Builder addAllIp(Iterable<String> values)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 |
values |
Iterable<String>The ip to add. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
addAllLabels(Iterable<? extends Label> values) (deprecated)
public Asset.Builder addAllLabels(Iterable<? extends Label> values)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 |
values |
Iterable<? extends com.google.backstory.Label> |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addAllMac(Iterable<String> values)
public Asset.Builder addAllMac(Iterable<String> values)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 |
values |
Iterable<String>The mac to add. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
addAllNatIp(Iterable<String> values)
public Asset.Builder addAllNatIp(Iterable<String> values)List of NAT IP addresses associated with an asset.
repeated string nat_ip = 22;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The natIp to add. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
addAllSoftware(Iterable<? extends Software> values)
public Asset.Builder addAllSoftware(Iterable<? extends Software> values)The asset software details.
repeated .google.backstory.Software software = 17;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.backstory.Software> |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addAllVulnerabilities(Iterable<? extends Vulnerability> values)
public Asset.Builder addAllVulnerabilities(Iterable<? extends Vulnerability> values)Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.backstory.Vulnerability> |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addHardware(Hardware value)
public Asset.Builder addHardware(Hardware value)The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
Hardware |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addHardware(Hardware.Builder builderForValue)
public Asset.Builder addHardware(Hardware.Builder builderForValue)The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Hardware.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addHardware(int index, Hardware value)
public Asset.Builder addHardware(int index, Hardware value)The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Hardware |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addHardware(int index, Hardware.Builder builderForValue)
public Asset.Builder addHardware(int index, Hardware.Builder builderForValue)The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Hardware.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addHardwareBuilder()
public Hardware.Builder addHardwareBuilder()The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Returns | |
|---|---|
| Type | Description |
Hardware.Builder |
|
addHardwareBuilder(int index)
public Hardware.Builder addHardwareBuilder(int index)The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Hardware.Builder |
|
addIp(String value)
public Asset.Builder addIp(String value)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 |
value |
StringThe ip to add. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
addIpBytes(ByteString value)
public Asset.Builder addIpBytes(ByteString value)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 |
value |
ByteStringThe bytes of the ip to add. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
addLabels(Label value) (deprecated)
public Asset.Builder addLabels(Label value)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 |
value |
Label |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addLabels(Label.Builder builderForValue) (deprecated)
public Asset.Builder addLabels(Label.Builder builderForValue)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 |
builderForValue |
Label.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addLabels(int index, Label value) (deprecated)
public Asset.Builder addLabels(int index, Label value)Metadata labels for the asset. Deprecated: labels should be populated in Attribute as generic metadata.
repeated .google.backstory.Label labels = 16 [deprecated = true];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Label |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addLabels(int index, Label.Builder builderForValue) (deprecated)
public Asset.Builder addLabels(int index, Label.Builder builderForValue)Metadata labels for the asset. Deprecated: labels should be populated in Attribute as generic metadata.
repeated .google.backstory.Label labels = 16 [deprecated = true];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Label.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addLabelsBuilder() (deprecated)
public Label.Builder addLabelsBuilder()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 |
Label.Builder |
|
addLabelsBuilder(int index) (deprecated)
public Label.Builder addLabelsBuilder(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.Builder |
|
addMac(String value)
public Asset.Builder addMac(String value)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 |
value |
StringThe mac to add. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
addMacBytes(ByteString value)
public Asset.Builder addMacBytes(ByteString value)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 |
value |
ByteStringThe bytes of the mac to add. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
addNatIp(String value)
public Asset.Builder addNatIp(String value)List of NAT IP addresses associated with an asset.
repeated string nat_ip = 22;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe natIp to add. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
addNatIpBytes(ByteString value)
public Asset.Builder addNatIpBytes(ByteString value)List of NAT IP addresses associated with an asset.
repeated string nat_ip = 22;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the natIp to add. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
addSoftware(Software value)
public Asset.Builder addSoftware(Software value)The asset software details.
repeated .google.backstory.Software software = 17;
| Parameter | |
|---|---|
| Name | Description |
value |
Software |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addSoftware(Software.Builder builderForValue)
public Asset.Builder addSoftware(Software.Builder builderForValue)The asset software details.
repeated .google.backstory.Software software = 17;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Software.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addSoftware(int index, Software value)
public Asset.Builder addSoftware(int index, Software value)The asset software details.
repeated .google.backstory.Software software = 17;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Software |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addSoftware(int index, Software.Builder builderForValue)
public Asset.Builder addSoftware(int index, Software.Builder builderForValue)The asset software details.
repeated .google.backstory.Software software = 17;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Software.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addSoftwareBuilder()
public Software.Builder addSoftwareBuilder()The asset software details.
repeated .google.backstory.Software software = 17;
| Returns | |
|---|---|
| Type | Description |
Software.Builder |
|
addSoftwareBuilder(int index)
public Software.Builder addSoftwareBuilder(int index)The asset software details.
repeated .google.backstory.Software software = 17;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Software.Builder |
|
addVulnerabilities(Vulnerability value)
public Asset.Builder addVulnerabilities(Vulnerability value)Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Parameter | |
|---|---|
| Name | Description |
value |
Vulnerability |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addVulnerabilities(Vulnerability.Builder builderForValue)
public Asset.Builder addVulnerabilities(Vulnerability.Builder builderForValue)Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Vulnerability.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addVulnerabilities(int index, Vulnerability value)
public Asset.Builder addVulnerabilities(int index, Vulnerability value)Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Vulnerability |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addVulnerabilities(int index, Vulnerability.Builder builderForValue)
public Asset.Builder addVulnerabilities(int index, Vulnerability.Builder builderForValue)Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Vulnerability.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
addVulnerabilitiesBuilder()
public Vulnerability.Builder addVulnerabilitiesBuilder()Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Returns | |
|---|---|
| Type | Description |
Vulnerability.Builder |
|
addVulnerabilitiesBuilder(int index)
public Vulnerability.Builder addVulnerabilitiesBuilder(int index)Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Vulnerability.Builder |
|
build()
public Asset build()| Returns | |
|---|---|
| Type | Description |
Asset |
|
buildPartial()
public Asset buildPartial()| Returns | |
|---|---|
| Type | Description |
Asset |
|
clear()
public Asset.Builder clear()| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
clearAssetId()
public Asset.Builder clearAssetId()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 |
Asset.Builder |
This builder for chaining. |
clearAttribute()
public Asset.Builder clearAttribute()Generic entity metadata attributes of the asset.
.google.backstory.Attribute attribute = 20;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
clearCategory()
public Asset.Builder clearCategory()The category of the asset (e.g. "End User Asset", "Workstation", "Server").
string category = 9;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
clearCreationTime() (deprecated)
public Asset.Builder clearCreationTime()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 |
Asset.Builder |
|
clearDeploymentStatus()
public Asset.Builder clearDeploymentStatus()The deployment status of the asset for device lifecycle purposes.
.google.backstory.Asset.DeploymentStatus deployment_status = 19;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
clearFirstDiscoverTime()
public Asset.Builder clearFirstDiscoverTime()Time the asset was first discovered (by asset management/discoverability software).
.google.protobuf.Timestamp first_discover_time = 12;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
clearFirstSeenTime()
public Asset.Builder clearFirstSeenTime()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 |
Asset.Builder |
|
clearHardware()
public Asset.Builder clearHardware()The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
clearHostname()
public Asset.Builder clearHostname()Asset hostname or domain name field. This field can be used as an entity indicator for asset entities.
string hostname = 2;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
clearIp()
public Asset.Builder clearIp()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 |
Asset.Builder |
This builder for chaining. |
clearLabels() (deprecated)
public Asset.Builder clearLabels()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 |
Asset.Builder |
|
clearLastBootTime()
public Asset.Builder clearLastBootTime()Time the asset was last boot started.
.google.protobuf.Timestamp last_boot_time = 15;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
clearLastDiscoverTime()
public Asset.Builder clearLastDiscoverTime()Time the asset was last discovered (by asset management/discoverability software).
.google.protobuf.Timestamp last_discover_time = 13;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
clearLocation()
public Asset.Builder clearLocation()Location of the asset.
.google.backstory.Location location = 8;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
clearMac()
public Asset.Builder clearMac()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 |
Asset.Builder |
This builder for chaining. |
clearNatIp()
public Asset.Builder clearNatIp()List of NAT IP addresses associated with an asset.
repeated string nat_ip = 22;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
clearNetworkDomain()
public Asset.Builder clearNetworkDomain()The network domain of the asset (e.g. "corp.acme.com")
string network_domain = 10;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
clearPlatformSoftware()
public Asset.Builder clearPlatformSoftware()The asset operating system platform software.
.google.backstory.PlatformSoftware platform_software = 7;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
clearProductObjectId()
public Asset.Builder clearProductObjectId()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 |
Asset.Builder |
This builder for chaining. |
clearSoftware()
public Asset.Builder clearSoftware()The asset software details.
repeated .google.backstory.Software software = 17;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
clearSystemLastUpdateTime()
public Asset.Builder clearSystemLastUpdateTime()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 |
Asset.Builder |
|
clearType()
public Asset.Builder clearType()The type of the asset (e.g. workstation or laptop or server).
.google.backstory.Asset.AssetType type = 18;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
clearVulnerabilities()
public Asset.Builder clearVulnerabilities()Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
clearWmiPersistenceItem()
public Asset.Builder clearWmiPersistenceItem()Information about a WMI persistence item.
.google.backstory.WmiPersistenceItem wmi_persistence_item = 24;
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
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. |
getAttributeBuilder()
public Attribute.Builder getAttributeBuilder()Generic entity metadata attributes of the asset.
.google.backstory.Attribute attribute = 20;
| Returns | |
|---|---|
| Type | Description |
Attribute.Builder |
|
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. |
getCreationTimeBuilder() (deprecated)
public Timestamp.Builder getCreationTimeBuilder()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 |
Builder |
|
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getFirstDiscoverTimeBuilder()
public Timestamp.Builder getFirstDiscoverTimeBuilder()Time the asset was first discovered (by asset management/discoverability software).
.google.protobuf.Timestamp first_discover_time = 12;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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. |
getFirstSeenTimeBuilder()
public Timestamp.Builder getFirstSeenTimeBuilder()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 |
Builder |
|
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 |
|
getHardwareBuilder(int index)
public Hardware.Builder getHardwareBuilder(int index)The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Hardware.Builder |
|
getHardwareBuilderList()
public List<Hardware.Builder> getHardwareBuilderList()The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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 |
|
getLabelsBuilder(int index) (deprecated)
public Label.Builder getLabelsBuilder(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.Builder |
|
getLabelsBuilderList() (deprecated)
public List<Label.Builder> getLabelsBuilderList()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<Builder> |
|
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. |
getLastBootTimeBuilder()
public Timestamp.Builder getLastBootTimeBuilder()Time the asset was last boot started.
.google.protobuf.Timestamp last_boot_time = 15;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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. |
getLastDiscoverTimeBuilder()
public Timestamp.Builder getLastDiscoverTimeBuilder()Time the asset was last discovered (by asset management/discoverability software).
.google.protobuf.Timestamp last_discover_time = 13;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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. |
getLocationBuilder()
public Location.Builder getLocationBuilder()Location of the asset.
.google.backstory.Location location = 8;
| Returns | |
|---|---|
| Type | Description |
Location.Builder |
|
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. |
getPlatformSoftware()
public PlatformSoftware getPlatformSoftware()The asset operating system platform software.
.google.backstory.PlatformSoftware platform_software = 7;
| Returns | |
|---|---|
| Type | Description |
PlatformSoftware |
The platformSoftware. |
getPlatformSoftwareBuilder()
public PlatformSoftware.Builder getPlatformSoftwareBuilder()The asset operating system platform software.
.google.backstory.PlatformSoftware platform_software = 7;
| Returns | |
|---|---|
| Type | Description |
PlatformSoftware.Builder |
|
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. |
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 |
|
getSoftwareBuilder(int index)
public Software.Builder getSoftwareBuilder(int index)The asset software details.
repeated .google.backstory.Software software = 17;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Software.Builder |
|
getSoftwareBuilderList()
public List<Software.Builder> getSoftwareBuilderList()The asset software details.
repeated .google.backstory.Software software = 17;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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. |
getSystemLastUpdateTimeBuilder()
public Timestamp.Builder getSystemLastUpdateTimeBuilder()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 |
Builder |
|
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 |
|
getVulnerabilitiesBuilder(int index)
public Vulnerability.Builder getVulnerabilitiesBuilder(int index)Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Vulnerability.Builder |
|
getVulnerabilitiesBuilderList()
public List<Vulnerability.Builder> getVulnerabilitiesBuilderList()Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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. |
getWmiPersistenceItemBuilder()
public WmiPersistenceItem.Builder getWmiPersistenceItemBuilder()Information about a WMI persistence item.
.google.backstory.WmiPersistenceItem wmi_persistence_item = 24;
| Returns | |
|---|---|
| Type | Description |
WmiPersistenceItem.Builder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAttribute(Attribute value)
public Asset.Builder mergeAttribute(Attribute value)Generic entity metadata attributes of the asset.
.google.backstory.Attribute attribute = 20;
| Parameter | |
|---|---|
| Name | Description |
value |
Attribute |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
mergeCreationTime(Timestamp value) (deprecated)
public Asset.Builder mergeCreationTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
mergeFirstDiscoverTime(Timestamp value)
public Asset.Builder mergeFirstDiscoverTime(Timestamp value)Time the asset was first discovered (by asset management/discoverability software).
.google.protobuf.Timestamp first_discover_time = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
mergeFirstSeenTime(Timestamp value)
public Asset.Builder mergeFirstSeenTime(Timestamp value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
mergeFrom(Asset other)
public Asset.Builder mergeFrom(Asset other)| Parameter | |
|---|---|
| Name | Description |
other |
Asset |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Asset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Asset.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
mergeLastBootTime(Timestamp value)
public Asset.Builder mergeLastBootTime(Timestamp value)Time the asset was last boot started.
.google.protobuf.Timestamp last_boot_time = 15;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
mergeLastDiscoverTime(Timestamp value)
public Asset.Builder mergeLastDiscoverTime(Timestamp value)Time the asset was last discovered (by asset management/discoverability software).
.google.protobuf.Timestamp last_discover_time = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
mergeLocation(Location value)
public Asset.Builder mergeLocation(Location value)Location of the asset.
.google.backstory.Location location = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
Location |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
mergePlatformSoftware(PlatformSoftware value)
public Asset.Builder mergePlatformSoftware(PlatformSoftware value)The asset operating system platform software.
.google.backstory.PlatformSoftware platform_software = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
PlatformSoftware |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
mergeSystemLastUpdateTime(Timestamp value)
public Asset.Builder mergeSystemLastUpdateTime(Timestamp value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
mergeWmiPersistenceItem(WmiPersistenceItem value)
public Asset.Builder mergeWmiPersistenceItem(WmiPersistenceItem value)Information about a WMI persistence item.
.google.backstory.WmiPersistenceItem wmi_persistence_item = 24;
| Parameter | |
|---|---|
| Name | Description |
value |
WmiPersistenceItem |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
removeHardware(int index)
public Asset.Builder removeHardware(int index)The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
removeLabels(int index) (deprecated)
public Asset.Builder removeLabels(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 |
Asset.Builder |
|
removeSoftware(int index)
public Asset.Builder removeSoftware(int index)The asset software details.
repeated .google.backstory.Software software = 17;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
removeVulnerabilities(int index)
public Asset.Builder removeVulnerabilities(int index)Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setAssetId(String value)
public Asset.Builder setAssetId(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe assetId to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setAssetIdBytes(ByteString value)
public Asset.Builder setAssetIdBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for assetId to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setAttribute(Attribute value)
public Asset.Builder setAttribute(Attribute value)Generic entity metadata attributes of the asset.
.google.backstory.Attribute attribute = 20;
| Parameter | |
|---|---|
| Name | Description |
value |
Attribute |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setAttribute(Attribute.Builder builderForValue)
public Asset.Builder setAttribute(Attribute.Builder builderForValue)Generic entity metadata attributes of the asset.
.google.backstory.Attribute attribute = 20;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Attribute.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setCategory(String value)
public Asset.Builder setCategory(String value)The category of the asset (e.g. "End User Asset", "Workstation", "Server").
string category = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe category to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setCategoryBytes(ByteString value)
public Asset.Builder setCategoryBytes(ByteString value)The category of the asset (e.g. "End User Asset", "Workstation", "Server").
string category = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for category to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setCreationTime(Timestamp value) (deprecated)
public Asset.Builder setCreationTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setCreationTime(Timestamp.Builder builderForValue) (deprecated)
public Asset.Builder setCreationTime(Timestamp.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setDeploymentStatus(Asset.DeploymentStatus value)
public Asset.Builder setDeploymentStatus(Asset.DeploymentStatus value)The deployment status of the asset for device lifecycle purposes.
.google.backstory.Asset.DeploymentStatus deployment_status = 19;
| Parameter | |
|---|---|
| Name | Description |
value |
Asset.DeploymentStatusThe deploymentStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setDeploymentStatusValue(int value)
public Asset.Builder setDeploymentStatusValue(int value)The deployment status of the asset for device lifecycle purposes.
.google.backstory.Asset.DeploymentStatus deployment_status = 19;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for deploymentStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setFirstDiscoverTime(Timestamp value)
public Asset.Builder setFirstDiscoverTime(Timestamp value)Time the asset was first discovered (by asset management/discoverability software).
.google.protobuf.Timestamp first_discover_time = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setFirstDiscoverTime(Timestamp.Builder builderForValue)
public Asset.Builder setFirstDiscoverTime(Timestamp.Builder builderForValue)Time the asset was first discovered (by asset management/discoverability software).
.google.protobuf.Timestamp first_discover_time = 12;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setFirstSeenTime(Timestamp value)
public Asset.Builder setFirstSeenTime(Timestamp value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setFirstSeenTime(Timestamp.Builder builderForValue)
public Asset.Builder setFirstSeenTime(Timestamp.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setHardware(int index, Hardware value)
public Asset.Builder setHardware(int index, Hardware value)The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Hardware |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setHardware(int index, Hardware.Builder builderForValue)
public Asset.Builder setHardware(int index, Hardware.Builder builderForValue)The asset hardware specifications.
repeated .google.backstory.Hardware hardware = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Hardware.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setHostname(String value)
public Asset.Builder setHostname(String value)Asset hostname or domain name field. This field can be used as an entity indicator for asset entities.
string hostname = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe hostname to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setHostnameBytes(ByteString value)
public Asset.Builder setHostnameBytes(ByteString value)Asset hostname or domain name field. This field can be used as an entity indicator for asset entities.
string hostname = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for hostname to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setIp(int index, String value)
public Asset.Builder setIp(int index, String value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe ip to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setLabels(int index, Label value) (deprecated)
public Asset.Builder setLabels(int index, Label value)Metadata labels for the asset. Deprecated: labels should be populated in Attribute as generic metadata.
repeated .google.backstory.Label labels = 16 [deprecated = true];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Label |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setLabels(int index, Label.Builder builderForValue) (deprecated)
public Asset.Builder setLabels(int index, Label.Builder builderForValue)Metadata labels for the asset. Deprecated: labels should be populated in Attribute as generic metadata.
repeated .google.backstory.Label labels = 16 [deprecated = true];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Label.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setLastBootTime(Timestamp value)
public Asset.Builder setLastBootTime(Timestamp value)Time the asset was last boot started.
.google.protobuf.Timestamp last_boot_time = 15;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setLastBootTime(Timestamp.Builder builderForValue)
public Asset.Builder setLastBootTime(Timestamp.Builder builderForValue)Time the asset was last boot started.
.google.protobuf.Timestamp last_boot_time = 15;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setLastDiscoverTime(Timestamp value)
public Asset.Builder setLastDiscoverTime(Timestamp value)Time the asset was last discovered (by asset management/discoverability software).
.google.protobuf.Timestamp last_discover_time = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setLastDiscoverTime(Timestamp.Builder builderForValue)
public Asset.Builder setLastDiscoverTime(Timestamp.Builder builderForValue)Time the asset was last discovered (by asset management/discoverability software).
.google.protobuf.Timestamp last_discover_time = 13;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setLocation(Location value)
public Asset.Builder setLocation(Location value)Location of the asset.
.google.backstory.Location location = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
Location |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setLocation(Location.Builder builderForValue)
public Asset.Builder setLocation(Location.Builder builderForValue)Location of the asset.
.google.backstory.Location location = 8;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Location.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setMac(int index, String value)
public Asset.Builder setMac(int index, String value)List of MAC addresses associated with an asset. This field can be used as an entity indicator for asset entities.
repeated string mac = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe mac to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setNatIp(int index, String value)
public Asset.Builder setNatIp(int index, String value)List of NAT IP addresses associated with an asset.
repeated string nat_ip = 22;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe natIp to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setNetworkDomain(String value)
public Asset.Builder setNetworkDomain(String value)The network domain of the asset (e.g. "corp.acme.com")
string network_domain = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe networkDomain to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setNetworkDomainBytes(ByteString value)
public Asset.Builder setNetworkDomainBytes(ByteString value)The network domain of the asset (e.g. "corp.acme.com")
string network_domain = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for networkDomain to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setPlatformSoftware(PlatformSoftware value)
public Asset.Builder setPlatformSoftware(PlatformSoftware value)The asset operating system platform software.
.google.backstory.PlatformSoftware platform_software = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
PlatformSoftware |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setPlatformSoftware(PlatformSoftware.Builder builderForValue)
public Asset.Builder setPlatformSoftware(PlatformSoftware.Builder builderForValue)The asset operating system platform software.
.google.backstory.PlatformSoftware platform_software = 7;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PlatformSoftware.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setProductObjectId(String value)
public Asset.Builder setProductObjectId(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe productObjectId to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setProductObjectIdBytes(ByteString value)
public Asset.Builder setProductObjectIdBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for productObjectId to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setSoftware(int index, Software value)
public Asset.Builder setSoftware(int index, Software value)The asset software details.
repeated .google.backstory.Software software = 17;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Software |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setSoftware(int index, Software.Builder builderForValue)
public Asset.Builder setSoftware(int index, Software.Builder builderForValue)The asset software details.
repeated .google.backstory.Software software = 17;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Software.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setSystemLastUpdateTime(Timestamp value)
public Asset.Builder setSystemLastUpdateTime(Timestamp value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setSystemLastUpdateTime(Timestamp.Builder builderForValue)
public Asset.Builder setSystemLastUpdateTime(Timestamp.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setType(Asset.AssetType value)
public Asset.Builder setType(Asset.AssetType value)The type of the asset (e.g. workstation or laptop or server).
.google.backstory.Asset.AssetType type = 18;
| Parameter | |
|---|---|
| Name | Description |
value |
Asset.AssetTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setTypeValue(int value)
public Asset.Builder setTypeValue(int value)The type of the asset (e.g. workstation or laptop or server).
.google.backstory.Asset.AssetType type = 18;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
This builder for chaining. |
setVulnerabilities(int index, Vulnerability value)
public Asset.Builder setVulnerabilities(int index, Vulnerability value)Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Vulnerability |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setVulnerabilities(int index, Vulnerability.Builder builderForValue)
public Asset.Builder setVulnerabilities(int index, Vulnerability.Builder builderForValue)Vulnerabilities discovered on asset.
repeated .google.backstory.Vulnerability vulnerabilities = 21;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Vulnerability.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setWmiPersistenceItem(WmiPersistenceItem value)
public Asset.Builder setWmiPersistenceItem(WmiPersistenceItem value)Information about a WMI persistence item.
.google.backstory.WmiPersistenceItem wmi_persistence_item = 24;
| Parameter | |
|---|---|
| Name | Description |
value |
WmiPersistenceItem |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|
setWmiPersistenceItem(WmiPersistenceItem.Builder builderForValue)
public Asset.Builder setWmiPersistenceItem(WmiPersistenceItem.Builder builderForValue)Information about a WMI persistence item.
.google.backstory.WmiPersistenceItem wmi_persistence_item = 24;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
WmiPersistenceItem.Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.Builder |
|