public final class Resource extends com.google.protobuf.GeneratedMessageV3 implements ResourceOrBuilder
Information related to the Google Cloud resource.Protobuf type
google.cloud.securitycenter.v1.Resource| Modifier and Type | Class and Description |
|---|---|
static class |
Resource.Builder
Information related to the Google Cloud resource.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
FOLDERS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PARENT_DISPLAY_NAME_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
PROJECT_DISPLAY_NAME_FIELD_NUMBER |
static int |
PROJECT_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Resource |
getDefaultInstance() |
Resource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Resource> |
getParserForType() |
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.
|
int |
getSerializedSize() |
String |
getType()
The full resource type of the resource.
|
com.google.protobuf.ByteString |
getTypeBytes()
The full resource type of the resource.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Resource.Builder |
newBuilder() |
static Resource.Builder |
newBuilder(Resource prototype) |
Resource.Builder |
newBuilderForType() |
protected Resource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Resource |
parseDelimitedFrom(InputStream input) |
static Resource |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Resource |
parseFrom(byte[] data) |
static Resource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Resource |
parseFrom(ByteBuffer data) |
static Resource |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Resource |
parseFrom(com.google.protobuf.ByteString data) |
static Resource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Resource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Resource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Resource |
parseFrom(InputStream input) |
static Resource |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Resource> |
parser() |
Resource.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
public static final int PROJECT_DISPLAY_NAME_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
public static final int PARENT_DISPLAY_NAME_FIELD_NUMBER
public static final int FOLDERS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string name = 1;getName in interface ResourceOrBuilderpublic 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;getNameBytes in interface ResourceOrBuilderpublic String getDisplayName()
The human readable name of the resource.
string display_name = 8;getDisplayName in interface ResourceOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The human readable name of the resource.
string display_name = 8;getDisplayNameBytes in interface ResourceOrBuilderpublic String getType()
The full resource type of the resource.
string type = 6;getType in interface ResourceOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
The full resource type of the resource.
string type = 6;getTypeBytes in interface ResourceOrBuilderpublic String getProject()
The full resource name of project that the resource belongs to.
string project = 2;getProject in interface ResourceOrBuilderpublic com.google.protobuf.ByteString getProjectBytes()
The full resource name of project that the resource belongs to.
string project = 2;getProjectBytes in interface ResourceOrBuilderpublic String getProjectDisplayName()
The project ID that the resource belongs to.
string project_display_name = 3;getProjectDisplayName in interface ResourceOrBuilderpublic com.google.protobuf.ByteString getProjectDisplayNameBytes()
The project ID that the resource belongs to.
string project_display_name = 3;getProjectDisplayNameBytes in interface ResourceOrBuilderpublic String getParent()
The full resource name of resource's parent.
string parent = 4;getParent in interface ResourceOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
The full resource name of resource's parent.
string parent = 4;getParentBytes in interface ResourceOrBuilderpublic String getParentDisplayName()
The human readable name of resource's parent.
string parent_display_name = 5;getParentDisplayName in interface ResourceOrBuilderpublic com.google.protobuf.ByteString getParentDisplayNameBytes()
The human readable name of resource's parent.
string parent_display_name = 5;getParentDisplayNameBytes in interface ResourceOrBuilderpublic 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];
getFoldersList in interface ResourceOrBuilderpublic 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];
getFoldersOrBuilderList in interface ResourceOrBuilderpublic 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];
getFoldersCount in interface ResourceOrBuilderpublic 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];
getFolders in interface ResourceOrBuilderpublic 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];
getFoldersOrBuilder in interface ResourceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Resource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Resource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Resource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Resource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Resource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Resource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Resource parseFrom(InputStream input) throws IOException
IOExceptionpublic static Resource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Resource parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Resource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Resource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Resource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Resource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Resource.Builder newBuilder()
public static Resource.Builder newBuilder(Resource prototype)
public Resource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Resource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Resource getDefaultInstance()
public static com.google.protobuf.Parser<Resource> parser()
public com.google.protobuf.Parser<Resource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Resource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.