Interface ResourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resource
,Resource.Builder
public interface ResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDisplayName()
The human readable name of the resource.com.google.protobuf.ByteString
getDisplayNameBytes()
The human readable name of the resource.Folder
getFolders(int index)
Output only.int
getFoldersCount()
Output only.List<Folder>
getFoldersList()
Output only.FolderOrBuilder
getFoldersOrBuilder(int index)
Output only.List<? extends FolderOrBuilder>
getFoldersOrBuilderList()
Output only.String
getName()
The full resource name of the resource.com.google.protobuf.ByteString
getNameBytes()
The full resource name of the resource.String
getParent()
The full resource name of resource's parent.com.google.protobuf.ByteString
getParentBytes()
The full resource name of resource's parent.String
getParentDisplayName()
The human readable name of resource's parent.com.google.protobuf.ByteString
getParentDisplayNameBytes()
The human readable name of resource's parent.String
getProject()
The full resource name of project that the resource belongs to.com.google.protobuf.ByteString
getProjectBytes()
The full resource name of project that the resource belongs to.String
getProjectDisplayName()
The project ID that the resource belongs to.com.google.protobuf.ByteString
getProjectDisplayNameBytes()
The project ID that the resource belongs to.String
getType()
The full resource type of the resource.com.google.protobuf.ByteString
getTypeBytes()
The full resource type of the resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getDisplayName
String getDisplayName()
The human readable name of the resource.
string display_name = 8;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
The human readable name of the resource.
string display_name = 8;
- Returns:
- The bytes for displayName.
-
getType
String getType()
The full resource type of the resource.
string type = 6;
- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
The full resource type of the resource.
string type = 6;
- Returns:
- The bytes for type.
-
getProject
String getProject()
The full resource name of project that the resource belongs to.
string project = 2;
- Returns:
- The project.
-
getProjectBytes
com.google.protobuf.ByteString getProjectBytes()
The full resource name of project that the resource belongs to.
string project = 2;
- Returns:
- The bytes for project.
-
getProjectDisplayName
String getProjectDisplayName()
The project ID that the resource belongs to.
string project_display_name = 3;
- Returns:
- The projectDisplayName.
-
getProjectDisplayNameBytes
com.google.protobuf.ByteString getProjectDisplayNameBytes()
The project ID that the resource belongs to.
string project_display_name = 3;
- Returns:
- The bytes for projectDisplayName.
-
getParent
String getParent()
The full resource name of resource's parent.
string parent = 4;
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
The full resource name of resource's parent.
string parent = 4;
- Returns:
- The bytes for parent.
-
getParentDisplayName
String getParentDisplayName()
The human readable name of resource's parent.
string parent_display_name = 5;
- Returns:
- The parentDisplayName.
-
getParentDisplayNameBytes
com.google.protobuf.ByteString getParentDisplayNameBytes()
The human readable name of resource's parent.
string parent_display_name = 5;
- Returns:
- The bytes for parentDisplayName.
-
getFoldersList
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];
-
getFolders
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];
-
getFoldersCount
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];
-
getFoldersOrBuilderList
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];
-
getFoldersOrBuilder
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];
-
-