Interface ResourceOrBuilder (2.54.0)

public interface ResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1p1beta1.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 human readable name of project that the resource belongs to.

string project_display_name = 3;

Returns
Type Description
String

The projectDisplayName.

getProjectDisplayNameBytes()

public abstract ByteString getProjectDisplayNameBytes()

The human readable name of project that the resource belongs to.

string project_display_name = 3;

Returns
Type Description
ByteString

The bytes for projectDisplayName.