public static final class Resource.Builder extends GeneratedMessage.Builder<Resource.Builder> implements ResourceOrBuilderInformation about a resource such as a task, Cloud Storage bucket, database, disk, logical policy, or something similar.
Protobuf type google.backstory.Resource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Resource.BuilderImplements
ResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Resource build()| Returns | |
|---|---|
| Type | Description |
Resource |
|
buildPartial()
public Resource buildPartial()| Returns | |
|---|---|
| Type | Description |
Resource |
|
clear()
public Resource.Builder clear()| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
clearAttribute()
public Resource.Builder clearAttribute()Generic entity metadata attributes of the resource.
.google.backstory.Attribute attribute = 7;
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
clearId() (deprecated)
public Resource.Builder clearId()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 |
Resource.Builder |
This builder for chaining. |
clearName()
public Resource.Builder clearName()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 |
Resource.Builder |
This builder for chaining. |
clearParent() (deprecated)
public Resource.Builder clearParent()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 |
Resource.Builder |
This builder for chaining. |
clearProductObjectId()
public Resource.Builder clearProductObjectId()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 |
Resource.Builder |
This builder for chaining. |
clearResourceSubtype()
public Resource.Builder clearResourceSubtype()Resource sub-type (e.g. "BigQuery", "Bigtable").
string resource_subtype = 6;
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
clearResourceType()
public Resource.Builder clearResourceType()Resource type.
.google.backstory.Resource.ResourceType resource_type = 5;
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
clearScheduledAnacronTask()
public Resource.Builder clearScheduledAnacronTask()Information about a scheduled anacron task associated with the resource.
.google.backstory.ScheduledAnacronTask scheduled_anacron_task = 13;
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
clearScheduledCronTask()
public Resource.Builder clearScheduledCronTask()Information about a scheduled cron task associated with the resource.
.google.backstory.ScheduledCronTask scheduled_cron_task = 12;
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
clearScheduledTask() (deprecated)
public Resource.Builder clearScheduledTask()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 |
Resource.Builder |
|
clearService()
public Resource.Builder clearService()Information about a Windows service associated with the resource.
.google.backstory.Service service = 11;
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
clearType() (deprecated)
public Resource.Builder clearType()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 |
Resource.Builder |
This builder for chaining. |
clearVolume()
public Resource.Builder clearVolume()Information about a storage volume associated with the resource.
.google.backstory.Volume volume = 10;
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
clearWindowsScheduledTask()
public Resource.Builder clearWindowsScheduledTask()Information about a Windows scheduled task associated with the resource.
.google.backstory.WindowsScheduledTask windows_scheduled_task = 14;
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
getAttribute()
public Attribute getAttribute()Generic entity metadata attributes of the resource.
.google.backstory.Attribute attribute = 7;
| Returns | |
|---|---|
| Type | Description |
Attribute |
The attribute. |
getAttributeBuilder()
public Attribute.Builder getAttributeBuilder()Generic entity metadata attributes of the resource.
.google.backstory.Attribute attribute = 7;
| Returns | |
|---|---|
| Type | Description |
Attribute.Builder |
|
getAttributeOrBuilder()
public AttributeOrBuilder getAttributeOrBuilder()Generic entity metadata attributes of the resource.
.google.backstory.Attribute attribute = 7;
| Returns | |
|---|---|
| Type | Description |
AttributeOrBuilder |
|
getDefaultInstanceForType()
public Resource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Resource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId() (deprecated)
public 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 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 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 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 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 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 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 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 String getResourceSubtype()Resource sub-type (e.g. "BigQuery", "Bigtable").
string resource_subtype = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The resourceSubtype. |
getResourceSubtypeBytes()
public ByteString getResourceSubtypeBytes()Resource sub-type (e.g. "BigQuery", "Bigtable").
string resource_subtype = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resourceSubtype. |
getResourceType()
public Resource.ResourceType getResourceType()Resource type.
.google.backstory.Resource.ResourceType resource_type = 5;
| Returns | |
|---|---|
| Type | Description |
Resource.ResourceType |
The resourceType. |
getResourceTypeValue()
public 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 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. |
getScheduledAnacronTaskBuilder()
public ScheduledAnacronTask.Builder getScheduledAnacronTaskBuilder()Information about a scheduled anacron task associated with the resource.
.google.backstory.ScheduledAnacronTask scheduled_anacron_task = 13;
| Returns | |
|---|---|
| Type | Description |
ScheduledAnacronTask.Builder |
|
getScheduledAnacronTaskOrBuilder()
public 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 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. |
getScheduledCronTaskBuilder()
public ScheduledCronTask.Builder getScheduledCronTaskBuilder()Information about a scheduled cron task associated with the resource.
.google.backstory.ScheduledCronTask scheduled_cron_task = 12;
| Returns | |
|---|---|
| Type | Description |
ScheduledCronTask.Builder |
|
getScheduledCronTaskOrBuilder()
public 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 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. |
getScheduledTaskBuilder() (deprecated)
public ScheduledTask.Builder getScheduledTaskBuilder()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.Builder |
|
getScheduledTaskOrBuilder() (deprecated)
public 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 Service getService()Information about a Windows service associated with the resource.
.google.backstory.Service service = 11;
| Returns | |
|---|---|
| Type | Description |
Service |
The service. |
getServiceBuilder()
public Service.Builder getServiceBuilder()Information about a Windows service associated with the resource.
.google.backstory.Service service = 11;
| Returns | |
|---|---|
| Type | Description |
Service.Builder |
|
getServiceOrBuilder()
public ServiceOrBuilder getServiceOrBuilder()Information about a Windows service associated with the resource.
.google.backstory.Service service = 11;
| Returns | |
|---|---|
| Type | Description |
ServiceOrBuilder |
|
getType() (deprecated)
public 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 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 Volume getVolume()Information about a storage volume associated with the resource.
.google.backstory.Volume volume = 10;
| Returns | |
|---|---|
| Type | Description |
Volume |
The volume. |
getVolumeBuilder()
public Volume.Builder getVolumeBuilder()Information about a storage volume associated with the resource.
.google.backstory.Volume volume = 10;
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
getVolumeOrBuilder()
public VolumeOrBuilder getVolumeOrBuilder()Information about a storage volume associated with the resource.
.google.backstory.Volume volume = 10;
| Returns | |
|---|---|
| Type | Description |
VolumeOrBuilder |
|
getWindowsScheduledTask()
public 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. |
getWindowsScheduledTaskBuilder()
public WindowsScheduledTask.Builder getWindowsScheduledTaskBuilder()Information about a Windows scheduled task associated with the resource.
.google.backstory.WindowsScheduledTask windows_scheduled_task = 14;
| Returns | |
|---|---|
| Type | Description |
WindowsScheduledTask.Builder |
|
getWindowsScheduledTaskOrBuilder()
public 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 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAttribute(Attribute value)
public Resource.Builder mergeAttribute(Attribute value)Generic entity metadata attributes of the resource.
.google.backstory.Attribute attribute = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
Attribute |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
mergeFrom(Resource other)
public Resource.Builder mergeFrom(Resource other)| Parameter | |
|---|---|
| Name | Description |
other |
Resource |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Resource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Resource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
mergeScheduledAnacronTask(ScheduledAnacronTask value)
public Resource.Builder mergeScheduledAnacronTask(ScheduledAnacronTask value)Information about a scheduled anacron task associated with the resource.
.google.backstory.ScheduledAnacronTask scheduled_anacron_task = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
ScheduledAnacronTask |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
mergeScheduledCronTask(ScheduledCronTask value)
public Resource.Builder mergeScheduledCronTask(ScheduledCronTask value)Information about a scheduled cron task associated with the resource.
.google.backstory.ScheduledCronTask scheduled_cron_task = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
ScheduledCronTask |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
mergeScheduledTask(ScheduledTask value) (deprecated)
public Resource.Builder mergeScheduledTask(ScheduledTask value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ScheduledTask |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
mergeService(Service value)
public Resource.Builder mergeService(Service value)Information about a Windows service associated with the resource.
.google.backstory.Service service = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
Service |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
mergeVolume(Volume value)
public Resource.Builder mergeVolume(Volume value)Information about a storage volume associated with the resource.
.google.backstory.Volume volume = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Volume |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
mergeWindowsScheduledTask(WindowsScheduledTask value)
public Resource.Builder mergeWindowsScheduledTask(WindowsScheduledTask value)Information about a Windows scheduled task associated with the resource.
.google.backstory.WindowsScheduledTask windows_scheduled_task = 14;
| Parameter | |
|---|---|
| Name | Description |
value |
WindowsScheduledTask |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setAttribute(Attribute value)
public Resource.Builder setAttribute(Attribute value)Generic entity metadata attributes of the resource.
.google.backstory.Attribute attribute = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
Attribute |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setAttribute(Attribute.Builder builderForValue)
public Resource.Builder setAttribute(Attribute.Builder builderForValue)Generic entity metadata attributes of the resource.
.google.backstory.Attribute attribute = 7;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Attribute.Builder |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setId(String value) (deprecated)
public Resource.Builder setId(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setIdBytes(ByteString value) (deprecated)
public Resource.Builder setIdBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setName(String value)
public Resource.Builder setName(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Resource.Builder setNameBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setParent(String value) (deprecated)
public Resource.Builder setParent(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setParentBytes(ByteString value) (deprecated)
public Resource.Builder setParentBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setProductObjectId(String value)
public Resource.Builder setProductObjectId(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe productObjectId to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setProductObjectIdBytes(ByteString value)
public Resource.Builder setProductObjectIdBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for productObjectId to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setResourceSubtype(String value)
public Resource.Builder setResourceSubtype(String value)Resource sub-type (e.g. "BigQuery", "Bigtable").
string resource_subtype = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceSubtype to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setResourceSubtypeBytes(ByteString value)
public Resource.Builder setResourceSubtypeBytes(ByteString value)Resource sub-type (e.g. "BigQuery", "Bigtable").
string resource_subtype = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resourceSubtype to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setResourceType(Resource.ResourceType value)
public Resource.Builder setResourceType(Resource.ResourceType value)Resource type.
.google.backstory.Resource.ResourceType resource_type = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Resource.ResourceTypeThe resourceType to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setResourceTypeValue(int value)
public Resource.Builder setResourceTypeValue(int value)Resource type.
.google.backstory.Resource.ResourceType resource_type = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for resourceType to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setScheduledAnacronTask(ScheduledAnacronTask value)
public Resource.Builder setScheduledAnacronTask(ScheduledAnacronTask value)Information about a scheduled anacron task associated with the resource.
.google.backstory.ScheduledAnacronTask scheduled_anacron_task = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
ScheduledAnacronTask |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setScheduledAnacronTask(ScheduledAnacronTask.Builder builderForValue)
public Resource.Builder setScheduledAnacronTask(ScheduledAnacronTask.Builder builderForValue)Information about a scheduled anacron task associated with the resource.
.google.backstory.ScheduledAnacronTask scheduled_anacron_task = 13;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ScheduledAnacronTask.Builder |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setScheduledCronTask(ScheduledCronTask value)
public Resource.Builder setScheduledCronTask(ScheduledCronTask value)Information about a scheduled cron task associated with the resource.
.google.backstory.ScheduledCronTask scheduled_cron_task = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
ScheduledCronTask |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setScheduledCronTask(ScheduledCronTask.Builder builderForValue)
public Resource.Builder setScheduledCronTask(ScheduledCronTask.Builder builderForValue)Information about a scheduled cron task associated with the resource.
.google.backstory.ScheduledCronTask scheduled_cron_task = 12;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ScheduledCronTask.Builder |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setScheduledTask(ScheduledTask value) (deprecated)
public Resource.Builder setScheduledTask(ScheduledTask value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ScheduledTask |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setScheduledTask(ScheduledTask.Builder builderForValue) (deprecated)
public Resource.Builder setScheduledTask(ScheduledTask.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ScheduledTask.Builder |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setService(Service value)
public Resource.Builder setService(Service value)Information about a Windows service associated with the resource.
.google.backstory.Service service = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
Service |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setService(Service.Builder builderForValue)
public Resource.Builder setService(Service.Builder builderForValue)Information about a Windows service associated with the resource.
.google.backstory.Service service = 11;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Service.Builder |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setType(String value) (deprecated)
public Resource.Builder setType(String value)Deprecated. google.backstory.Resource.type is deprecated. See backstory/udm.proto;l=5599
Deprecated: use resource_type instead.
string type = 1 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setTypeBytes(ByteString value) (deprecated)
public Resource.Builder setTypeBytes(ByteString value)Deprecated. google.backstory.Resource.type is deprecated. See backstory/udm.proto;l=5599
Deprecated: use resource_type instead.
string type = 1 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
This builder for chaining. |
setVolume(Volume value)
public Resource.Builder setVolume(Volume value)Information about a storage volume associated with the resource.
.google.backstory.Volume volume = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Volume |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setVolume(Volume.Builder builderForValue)
public Resource.Builder setVolume(Volume.Builder builderForValue)Information about a storage volume associated with the resource.
.google.backstory.Volume volume = 10;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Volume.Builder |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setWindowsScheduledTask(WindowsScheduledTask value)
public Resource.Builder setWindowsScheduledTask(WindowsScheduledTask value)Information about a Windows scheduled task associated with the resource.
.google.backstory.WindowsScheduledTask windows_scheduled_task = 14;
| Parameter | |
|---|---|
| Name | Description |
value |
WindowsScheduledTask |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
setWindowsScheduledTask(WindowsScheduledTask.Builder builderForValue)
public Resource.Builder setWindowsScheduledTask(WindowsScheduledTask.Builder builderForValue)Information about a Windows scheduled task associated with the resource.
.google.backstory.WindowsScheduledTask windows_scheduled_task = 14;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
WindowsScheduledTask.Builder |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|