Interface ResourceOrBuilder (2.51.0)

public interface ResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

The human readable name of the resource.

string display_name = 8;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The human readable name of the resource.

string display_name = 8;

Returns
Type Description
ByteString

The bytes for displayName.

getFolders(int index)

public abstract Folder getFolders(int index)

Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.

repeated .google.cloud.securitycenter.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Folder

getFoldersCount()

public abstract int getFoldersCount()

Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.

repeated .google.cloud.securitycenter.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getFoldersList()

public abstract List<Folder> getFoldersList()

Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.

repeated .google.cloud.securitycenter.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Folder>

getFoldersOrBuilder(int index)

public abstract FolderOrBuilder getFoldersOrBuilder(int index)

Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.

repeated .google.cloud.securitycenter.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
FolderOrBuilder

getFoldersOrBuilderList()

public abstract List<? extends FolderOrBuilder> getFoldersOrBuilderList()

Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.

repeated .google.cloud.securitycenter.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.FolderOrBuilder>

getName()

public abstract String getName()

The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParent()

public abstract String getParent()

The full resource name of resource's parent.

string parent = 4;

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The full resource name of resource's parent.

string parent = 4;

Returns
Type Description
ByteString

The bytes for parent.

getParentDisplayName()

public abstract String getParentDisplayName()

The human readable name of resource's parent.

string parent_display_name = 5;

Returns
Type Description
String

The parentDisplayName.

getParentDisplayNameBytes()

public abstract ByteString getParentDisplayNameBytes()

The human readable name of resource's parent.

string parent_display_name = 5;

Returns
Type Description
ByteString

The bytes for parentDisplayName.

getProject()

public abstract String getProject()

The full resource name of project that the resource belongs to.

string project = 2;

Returns
Type Description
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

The full resource name of project that the resource belongs to.

string project = 2;

Returns
Type Description
ByteString

The bytes for project.

getProjectDisplayName()

public abstract String getProjectDisplayName()

The project ID that the resource belongs to.

string project_display_name = 3;

Returns
Type Description
String

The projectDisplayName.

getProjectDisplayNameBytes()

public abstract ByteString getProjectDisplayNameBytes()

The project ID that the resource belongs to.

string project_display_name = 3;

Returns
Type Description
ByteString

The bytes for projectDisplayName.

getType()

public abstract String getType()

The full resource type of the resource.

string type = 6;

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The full resource type of the resource.

string type = 6;

Returns
Type Description
ByteString

The bytes for type.