Interface ResourceOrBuilder (2.3.2)

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
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The human readable name of the resource.

string display_name = 8;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParent()

public abstract String getParent()

The full resource name of resource's parent.

string parent = 4;

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The full resource name of resource's parent.

string parent = 4;

Returns
TypeDescription
ByteString

The bytes for parent.

getParentDisplayName()

public abstract String getParentDisplayName()

The human readable name of resource's parent.

string parent_display_name = 5;

Returns
TypeDescription
String

The parentDisplayName.

getParentDisplayNameBytes()

public abstract ByteString getParentDisplayNameBytes()

The human readable name of resource's parent.

string parent_display_name = 5;

Returns
TypeDescription
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
TypeDescription
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

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

string project = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for projectDisplayName.

getType()

public abstract String getType()

The full resource type of the resource.

string type = 6;

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The full resource type of the resource.

string type = 6;

Returns
TypeDescription
ByteString

The bytes for type.