public final class GcpMetadata extends GeneratedMessageV3 implements GcpMetadataOrBuilder
GCP metadata associated with the resource, only applicable if the finding's
cloud provider is Google Cloud Platform.
Protobuf type google.cloud.securitycenter.v2.GcpMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int FOLDERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ORGANIZATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PARENT_DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PARENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PROJECT_DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PROJECT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static GcpMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static GcpMetadata.Builder newBuilder()
public static GcpMetadata.Builder newBuilder(GcpMetadata prototype)
public static GcpMetadata parseDelimitedFrom(InputStream input)
public static GcpMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GcpMetadata parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static GcpMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GcpMetadata parseFrom(ByteString data)
public static GcpMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GcpMetadata parseFrom(CodedInputStream input)
public static GcpMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GcpMetadata parseFrom(InputStream input)
public static GcpMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GcpMetadata parseFrom(ByteBuffer data)
public static GcpMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<GcpMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public GcpMetadata getDefaultInstanceForType()
public 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.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Folder |
|
public 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.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
public 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.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
public 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.v2.Folder folders = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.cloud.securitycenter.v2.FolderOrBuilder> |
|
public String getOrganization()
The name of the organization that the resource belongs to.
string organization = 6;
Returns |
Type |
Description |
String |
The organization.
|
public ByteString getOrganizationBytes()
The name of the organization that the resource belongs to.
string organization = 6;
Returns |
Type |
Description |
ByteString |
The bytes for organization.
|
public String getParent()
The full resource name of resource's parent.
string parent = 3;
Returns |
Type |
Description |
String |
The parent.
|
public ByteString getParentBytes()
The full resource name of resource's parent.
string parent = 3;
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
public String getParentDisplayName()
The human readable name of resource's parent.
string parent_display_name = 4;
Returns |
Type |
Description |
String |
The parentDisplayName.
|
public ByteString getParentDisplayNameBytes()
The human readable name of resource's parent.
string parent_display_name = 4;
Returns |
Type |
Description |
ByteString |
The bytes for parentDisplayName.
|
public Parser<GcpMetadata> getParserForType()
Overrides
public String getProject()
The full resource name of project that the resource belongs to.
string project = 1;
Returns |
Type |
Description |
String |
The project.
|
public ByteString getProjectBytes()
The full resource name of project that the resource belongs to.
string project = 1;
Returns |
Type |
Description |
ByteString |
The bytes for project.
|
public String getProjectDisplayName()
The project ID that the resource belongs to.
string project_display_name = 2;
Returns |
Type |
Description |
String |
The projectDisplayName.
|
public ByteString getProjectDisplayNameBytes()
The project ID that the resource belongs to.
string project_display_name = 2;
Returns |
Type |
Description |
ByteString |
The bytes for projectDisplayName.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public GcpMetadata.Builder newBuilderForType()
protected GcpMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public GcpMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides