public interface ResourceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAttribute()
public abstract Attribute getAttribute()Generic entity metadata attributes of the resource.
.google.backstory.Attribute attribute = 7;
| Returns | |
|---|---|
| Type | Description |
Attribute |
The attribute. |
getAttributeOrBuilder()
public abstract AttributeOrBuilder getAttributeOrBuilder()Generic entity metadata attributes of the resource.
.google.backstory.Attribute attribute = 7;
| Returns | |
|---|---|
| Type | Description |
AttributeOrBuilder |
|
getId() (deprecated)
public abstract String getId()Deprecated. google.backstory.Resource.id is deprecated. See backstory/udm.proto;l=5608
Deprecated: Use resource.name or resource.product_object_id.
string id = 2 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes() (deprecated)
public abstract ByteString getIdBytes()Deprecated. google.backstory.Resource.id is deprecated. See backstory/udm.proto;l=5608
Deprecated: Use resource.name or resource.product_object_id.
string id = 2 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getName()
public abstract String getName()The full name of the resource. For example, Google Cloud: //cloudresourcemanager.googleapis.com/projects/wombat-123, and AWS: arn:aws:iam::123456789012:user/johndoe.
string name = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()The full name of the resource. For example, Google Cloud: //cloudresourcemanager.googleapis.com/projects/wombat-123, and AWS: arn:aws:iam::123456789012:user/johndoe.
string name = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParent() (deprecated)
public abstract String getParent()Deprecated. google.backstory.Resource.parent is deprecated. See backstory/udm.proto;l=5618
The parent of the resource. For a database table, the parent is the database. For a storage object, the bucket name. Deprecated: use resource_ancestors.name.
string parent = 4 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes() (deprecated)
public abstract ByteString getParentBytes()Deprecated. google.backstory.Resource.parent is deprecated. See backstory/udm.proto;l=5618
The parent of the resource. For a database table, the parent is the database. For a storage object, the bucket name. Deprecated: use resource_ancestors.name.
string parent = 4 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getProductObjectId()
public abstract String getProductObjectId()A vendor-specific identifier to uniquely identify the entity (a GUID, OID, or similar) This field can be used as an entity indicator for a Resource entity.
string product_object_id = 8;
| Returns | |
|---|---|
| Type | Description |
String |
The productObjectId. |
getProductObjectIdBytes()
public abstract ByteString getProductObjectIdBytes()A vendor-specific identifier to uniquely identify the entity (a GUID, OID, or similar) This field can be used as an entity indicator for a Resource entity.
string product_object_id = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for productObjectId. |
getResourceSubtype()
public abstract String getResourceSubtype()Resource sub-type (e.g. "BigQuery", "Bigtable").
string resource_subtype = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The resourceSubtype. |
getResourceSubtypeBytes()
public abstract ByteString getResourceSubtypeBytes()Resource sub-type (e.g. "BigQuery", "Bigtable").
string resource_subtype = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resourceSubtype. |
getResourceType()
public abstract Resource.ResourceType getResourceType()Resource type.
.google.backstory.Resource.ResourceType resource_type = 5;
| Returns | |
|---|---|
| Type | Description |
Resource.ResourceType |
The resourceType. |
getResourceTypeValue()
public abstract int getResourceTypeValue()Resource type.
.google.backstory.Resource.ResourceType resource_type = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for resourceType. |
getScheduledAnacronTask()
public abstract ScheduledAnacronTask getScheduledAnacronTask()Information about a scheduled anacron task associated with the resource.
.google.backstory.ScheduledAnacronTask scheduled_anacron_task = 13;
| Returns | |
|---|---|
| Type | Description |
ScheduledAnacronTask |
The scheduledAnacronTask. |
getScheduledAnacronTaskOrBuilder()
public abstract ScheduledAnacronTaskOrBuilder getScheduledAnacronTaskOrBuilder()Information about a scheduled anacron task associated with the resource.
.google.backstory.ScheduledAnacronTask scheduled_anacron_task = 13;
| Returns | |
|---|---|
| Type | Description |
ScheduledAnacronTaskOrBuilder |
|
getScheduledCronTask()
public abstract ScheduledCronTask getScheduledCronTask()Information about a scheduled cron task associated with the resource.
.google.backstory.ScheduledCronTask scheduled_cron_task = 12;
| Returns | |
|---|---|
| Type | Description |
ScheduledCronTask |
The scheduledCronTask. |
getScheduledCronTaskOrBuilder()
public abstract ScheduledCronTaskOrBuilder getScheduledCronTaskOrBuilder()Information about a scheduled cron task associated with the resource.
.google.backstory.ScheduledCronTask scheduled_cron_task = 12;
| Returns | |
|---|---|
| Type | Description |
ScheduledCronTaskOrBuilder |
|
getScheduledTask() (deprecated)
public abstract ScheduledTask getScheduledTask()Deprecated. google.backstory.Resource.scheduled_task is deprecated. See backstory/udm.proto;l=5631
DEPRECATED: use windows_scheduled_task for Windows scheduled tasks or scheduled_cron_task for cron jobs. Information about a scheduled task associated with the resource.
.google.backstory.ScheduledTask scheduled_task = 9 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ScheduledTask |
The scheduledTask. |
getScheduledTaskOrBuilder() (deprecated)
public abstract ScheduledTaskOrBuilder getScheduledTaskOrBuilder()DEPRECATED: use windows_scheduled_task for Windows scheduled tasks or scheduled_cron_task for cron jobs. Information about a scheduled task associated with the resource.
.google.backstory.ScheduledTask scheduled_task = 9 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ScheduledTaskOrBuilder |
|
getService()
public abstract Service getService()Information about a Windows service associated with the resource.
.google.backstory.Service service = 11;
| Returns | |
|---|---|
| Type | Description |
Service |
The service. |
getServiceOrBuilder()
public abstract ServiceOrBuilder getServiceOrBuilder()Information about a Windows service associated with the resource.
.google.backstory.Service service = 11;
| Returns | |
|---|---|
| Type | Description |
ServiceOrBuilder |
|
getType() (deprecated)
public abstract String getType()Deprecated. google.backstory.Resource.type is deprecated. See backstory/udm.proto;l=5599
Deprecated: use resource_type instead.
string type = 1 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes() (deprecated)
public abstract ByteString getTypeBytes()Deprecated. google.backstory.Resource.type is deprecated. See backstory/udm.proto;l=5599
Deprecated: use resource_type instead.
string type = 1 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
getVolume()
public abstract Volume getVolume()Information about a storage volume associated with the resource.
.google.backstory.Volume volume = 10;
| Returns | |
|---|---|
| Type | Description |
Volume |
The volume. |
getVolumeOrBuilder()
public abstract VolumeOrBuilder getVolumeOrBuilder()Information about a storage volume associated with the resource.
.google.backstory.Volume volume = 10;
| Returns | |
|---|---|
| Type | Description |
VolumeOrBuilder |
|
getWindowsScheduledTask()
public abstract WindowsScheduledTask getWindowsScheduledTask()Information about a Windows scheduled task associated with the resource.
.google.backstory.WindowsScheduledTask windows_scheduled_task = 14;
| Returns | |
|---|---|
| Type | Description |
WindowsScheduledTask |
The windowsScheduledTask. |
getWindowsScheduledTaskOrBuilder()
public abstract WindowsScheduledTaskOrBuilder getWindowsScheduledTaskOrBuilder()Information about a Windows scheduled task associated with the resource.
.google.backstory.WindowsScheduledTask windows_scheduled_task = 14;
| Returns | |
|---|---|
| Type | Description |
WindowsScheduledTaskOrBuilder |
|
hasAttribute()
public abstract boolean hasAttribute()Generic entity metadata attributes of the resource.
.google.backstory.Attribute attribute = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the attribute field is set. |
hasScheduledAnacronTask()
public abstract boolean hasScheduledAnacronTask()Information about a scheduled anacron task associated with the resource.
.google.backstory.ScheduledAnacronTask scheduled_anacron_task = 13;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scheduledAnacronTask field is set. |
hasScheduledCronTask()
public abstract boolean hasScheduledCronTask()Information about a scheduled cron task associated with the resource.
.google.backstory.ScheduledCronTask scheduled_cron_task = 12;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scheduledCronTask field is set. |
hasScheduledTask() (deprecated)
public abstract boolean hasScheduledTask()Deprecated. google.backstory.Resource.scheduled_task is deprecated. See backstory/udm.proto;l=5631
DEPRECATED: use windows_scheduled_task for Windows scheduled tasks or scheduled_cron_task for cron jobs. Information about a scheduled task associated with the resource.
.google.backstory.ScheduledTask scheduled_task = 9 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scheduledTask field is set. |
hasService()
public abstract boolean hasService()Information about a Windows service associated with the resource.
.google.backstory.Service service = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the service field is set. |
hasVolume()
public abstract boolean hasVolume()Information about a storage volume associated with the resource.
.google.backstory.Volume volume = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the volume field is set. |
hasWindowsScheduledTask()
public abstract boolean hasWindowsScheduledTask()Information about a Windows scheduled task associated with the resource.
.google.backstory.WindowsScheduledTask windows_scheduled_task = 14;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the windowsScheduledTask field is set. |