com.google.cloud.securitycenter.v2.ResourceOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-securitycenter-v2 Show documentation
Show all versions of proto-google-cloud-securitycenter-v2 Show documentation
Proto library for google-cloud-securitycenter
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/securitycenter/v2/resource.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.securitycenter.v2;
public interface ResourceOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v2.Resource)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The full resource name of the resource. See:
* https://cloud.google.com/apis/design/resource_names#full_resource_name
*
*
* string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* The full resource name of the resource. See:
* https://cloud.google.com/apis/design/resource_names#full_resource_name
*
*
* string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* The human readable name of the resource.
*
*
* string display_name = 2;
*
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
*
*
*
* The human readable name of the resource.
*
*
* string display_name = 2;
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* The full resource type of the resource.
*
*
* string type = 3;
*
* @return The type.
*/
java.lang.String getType();
/**
*
*
*
* The full resource type of the resource.
*
*
* string type = 3;
*
* @return The bytes for type.
*/
com.google.protobuf.ByteString getTypeBytes();
/**
*
*
*
* Indicates which cloud provider the finding is from.
*
*
* .google.cloud.securitycenter.v2.CloudProvider cloud_provider = 4;
*
* @return The enum numeric value on the wire for cloudProvider.
*/
int getCloudProviderValue();
/**
*
*
*
* Indicates which cloud provider the finding is from.
*
*
* .google.cloud.securitycenter.v2.CloudProvider cloud_provider = 4;
*
* @return The cloudProvider.
*/
com.google.cloud.securitycenter.v2.CloudProvider getCloudProvider();
/**
*
*
*
* The service or resource provider associated with the resource.
*
*
* string service = 5;
*
* @return The service.
*/
java.lang.String getService();
/**
*
*
*
* The service or resource provider associated with the resource.
*
*
* string service = 5;
*
* @return The bytes for service.
*/
com.google.protobuf.ByteString getServiceBytes();
/**
*
*
*
* The region or location of the service (if applicable).
*
*
* string location = 6;
*
* @return The location.
*/
java.lang.String getLocation();
/**
*
*
*
* The region or location of the service (if applicable).
*
*
* string location = 6;
*
* @return The bytes for location.
*/
com.google.protobuf.ByteString getLocationBytes();
/**
*
*
*
* The GCP metadata associated with the finding.
*
*
* .google.cloud.securitycenter.v2.GcpMetadata gcp_metadata = 7;
*
* @return Whether the gcpMetadata field is set.
*/
boolean hasGcpMetadata();
/**
*
*
*
* The GCP metadata associated with the finding.
*
*
* .google.cloud.securitycenter.v2.GcpMetadata gcp_metadata = 7;
*
* @return The gcpMetadata.
*/
com.google.cloud.securitycenter.v2.GcpMetadata getGcpMetadata();
/**
*
*
*
* The GCP metadata associated with the finding.
*
*
* .google.cloud.securitycenter.v2.GcpMetadata gcp_metadata = 7;
*/
com.google.cloud.securitycenter.v2.GcpMetadataOrBuilder getGcpMetadataOrBuilder();
/**
*
*
*
* The AWS metadata associated with the finding.
*
*
* .google.cloud.securitycenter.v2.AwsMetadata aws_metadata = 8;
*
* @return Whether the awsMetadata field is set.
*/
boolean hasAwsMetadata();
/**
*
*
*
* The AWS metadata associated with the finding.
*
*
* .google.cloud.securitycenter.v2.AwsMetadata aws_metadata = 8;
*
* @return The awsMetadata.
*/
com.google.cloud.securitycenter.v2.AwsMetadata getAwsMetadata();
/**
*
*
*
* The AWS metadata associated with the finding.
*
*
* .google.cloud.securitycenter.v2.AwsMetadata aws_metadata = 8;
*/
com.google.cloud.securitycenter.v2.AwsMetadataOrBuilder getAwsMetadataOrBuilder();
/**
*
*
*
* The Azure metadata associated with the finding.
*
*
* .google.cloud.securitycenter.v2.AzureMetadata azure_metadata = 9;
*
* @return Whether the azureMetadata field is set.
*/
boolean hasAzureMetadata();
/**
*
*
*
* The Azure metadata associated with the finding.
*
*
* .google.cloud.securitycenter.v2.AzureMetadata azure_metadata = 9;
*
* @return The azureMetadata.
*/
com.google.cloud.securitycenter.v2.AzureMetadata getAzureMetadata();
/**
*
*
*
* The Azure metadata associated with the finding.
*
*
* .google.cloud.securitycenter.v2.AzureMetadata azure_metadata = 9;
*/
com.google.cloud.securitycenter.v2.AzureMetadataOrBuilder getAzureMetadataOrBuilder();
/**
*
*
*
* Provides the path to the resource within the resource hierarchy.
*
*
* .google.cloud.securitycenter.v2.ResourcePath resource_path = 10;
*
* @return Whether the resourcePath field is set.
*/
boolean hasResourcePath();
/**
*
*
*
* Provides the path to the resource within the resource hierarchy.
*
*
* .google.cloud.securitycenter.v2.ResourcePath resource_path = 10;
*
* @return The resourcePath.
*/
com.google.cloud.securitycenter.v2.ResourcePath getResourcePath();
/**
*
*
*
* Provides the path to the resource within the resource hierarchy.
*
*
* .google.cloud.securitycenter.v2.ResourcePath resource_path = 10;
*/
com.google.cloud.securitycenter.v2.ResourcePathOrBuilder getResourcePathOrBuilder();
/**
*
*
*
* A string representation of the resource path.
* For Google Cloud, it has the format of
* `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}`
* where there can be any number of folders.
* For AWS, it has the format of
* `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}`
* where there can be any number of organizational units.
* For Azure, it has the format of
* `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}`
* where there can be any number of management groups.
*
*
* string resource_path_string = 11;
*
* @return The resourcePathString.
*/
java.lang.String getResourcePathString();
/**
*
*
*
* A string representation of the resource path.
* For Google Cloud, it has the format of
* `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}`
* where there can be any number of folders.
* For AWS, it has the format of
* `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}`
* where there can be any number of organizational units.
* For Azure, it has the format of
* `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}`
* where there can be any number of management groups.
*
*
* string resource_path_string = 11;
*
* @return The bytes for resourcePathString.
*/
com.google.protobuf.ByteString getResourcePathStringBytes();
com.google.cloud.securitycenter.v2.Resource.CloudProviderMetadataCase
getCloudProviderMetadataCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy