Class ValuedResource (2.83.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.83.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ValuedResource   extends   GeneratedMessageV3   implements   ValuedResourceOrBuilder  
   
   A resource that is determined to have value to a user's system
 Protobuf type google.cloud.securitycenter.v1.ValuedResource
 
  
  
  
    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
   
  DISPLAY_NAME_FIELD_NUMBER 
  
    
public   static   final   int   DISPLAY_NAME_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  EXPOSED_SCORE_FIELD_NUMBER 
  
    
public   static   final   int   EXPOSED_SCORE_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  NAME_FIELD_NUMBER 
  
    
public   static   final   int   NAME_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  RESOURCE_FIELD_NUMBER 
  
    
public   static   final   int   RESOURCE_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  RESOURCE_TYPE_FIELD_NUMBER 
  
    
public   static   final   int   RESOURCE_TYPE_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  RESOURCE_VALUE_CONFIGS_USED_FIELD_NUMBER 
  
    
public   static   final   int   RESOURCE_VALUE_CONFIGS_USED_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  RESOURCE_VALUE_FIELD_NUMBER 
  
    
public   static   final   int   RESOURCE_VALUE_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   ValuedResource   getDefaultInstance ()  
   
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  newBuilder() 
  
    
public   static   ValuedResource . Builder   newBuilder ()  
   
  
   
  newBuilder(ValuedResource prototype) 
  
    
public   static   ValuedResource . Builder   newBuilder ( ValuedResource   prototype )  
   
  
  
   
  
  
    
public   static   ValuedResource   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   ValuedResource   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(byte[] data) 
  
    
public   static   ValuedResource   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ValuedResource   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteString data) 
  
    
public   static   ValuedResource   parseFrom ( ByteString   data )  
   
  
  
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ValuedResource   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   ValuedResource   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   ValuedResource   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   ValuedResource   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   ValuedResource   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   ValuedResource   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ValuedResource   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parser() 
  
    
public   static   Parser<ValuedResource>   parser ()  
   
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  getDefaultInstanceForType() 
  
    
public   ValuedResource   getDefaultInstanceForType ()  
   
  
   
  getDisplayName() 
  
    
public   String   getDisplayName ()  
   
   Human-readable name of the valued resource.
 string display_name = 4;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The displayName.
 
       
     
  
   
  getDisplayNameBytes() 
  
    
public   ByteString   getDisplayNameBytes ()  
   
   Human-readable name of the valued resource.
 string display_name = 4;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for displayName.
 
       
     
  
   
  getExposedScore() 
  
    
public   double   getExposedScore ()  
   
   Exposed score for this valued resource. A value of 0 means no exposure was
 detected exposure.
 double exposed_score = 6;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        double  
        The exposedScore.
 
       
     
  
   
  getName() 
  
   Valued resource name, for example,
  e.g.:
  organizations/123/simulations/456/valuedResources/789
 string name = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The name.
 
       
     
  
   
  getNameBytes() 
  
    
public   ByteString   getNameBytes ()  
   
   Valued resource name, for example,
  e.g.:
  organizations/123/simulations/456/valuedResources/789
 string name = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for name.
 
       
     
  
   
  getParserForType() 
  
    
public   Parser<ValuedResource>   getParserForType ()  
   
  
  Overrides 
  
   
  getResource() 
  
    
public   String   getResource ()  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The resource.
 
       
     
  
   
  getResourceBytes() 
  
    
public   ByteString   getResourceBytes ()  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for resource.
 
       
     
  
   
  getResourceType() 
  
    
public   String   getResourceType ()  
   
   The resource
 type 
 of the valued resource.
 string resource_type = 3;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The resourceType.
 
       
     
  
   
  getResourceTypeBytes() 
  
    
public   ByteString   getResourceTypeBytes ()  
   
   The resource
 type 
 of the valued resource.
 string resource_type = 3;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for resourceType.
 
       
     
  
   
  getResourceValue() 
  
    
public   ValuedResource . ResourceValue   getResourceValue ()  
   
   How valuable this resource is.
 .google.cloud.securitycenter.v1.ValuedResource.ResourceValue resource_value = 5;
 
  
   
  getResourceValueConfigsUsed(int index) 
  
    
public   ResourceValueConfigMetadata   getResourceValueConfigsUsed ( int   index )  
   
   List of resource value configurations' metadata used to determine the value
 of this resource. Maximum of 100.
 
 repeated .google.cloud.securitycenter.v1.ResourceValueConfigMetadata resource_value_configs_used = 7;
 
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int  
       
     
  
  
   
  getResourceValueConfigsUsedCount() 
  
    
public   int   getResourceValueConfigsUsedCount ()  
   
   List of resource value configurations' metadata used to determine the value
 of this resource. Maximum of 100.
 
 repeated .google.cloud.securitycenter.v1.ResourceValueConfigMetadata resource_value_configs_used = 7;
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
   
  getResourceValueConfigsUsedList() 
  
    
public   List<ResourceValueConfigMetadata>   getResourceValueConfigsUsedList ()  
   
   List of resource value configurations' metadata used to determine the value
 of this resource. Maximum of 100.
 
 repeated .google.cloud.securitycenter.v1.ResourceValueConfigMetadata resource_value_configs_used = 7;
 
 
  
   
  getResourceValueConfigsUsedOrBuilder(int index) 
  
    
public   ResourceValueConfigMetadataOrBuilder   getResourceValueConfigsUsedOrBuilder ( int   index )  
   
   List of resource value configurations' metadata used to determine the value
 of this resource. Maximum of 100.
 
 repeated .google.cloud.securitycenter.v1.ResourceValueConfigMetadata resource_value_configs_used = 7;
 
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int  
       
     
  
  
   
  getResourceValueConfigsUsedOrBuilderList() 
  
    
public   List <?   extends   ResourceValueConfigMetadataOrBuilder >  getResourceValueConfigsUsedOrBuilderList ()  
   
   List of resource value configurations' metadata used to determine the value
 of this resource. Maximum of 100.
 
 repeated .google.cloud.securitycenter.v1.ResourceValueConfigMetadata resource_value_configs_used = 7;
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        List <? extends com.google.cloud.securitycenter.v1.ResourceValueConfigMetadataOrBuilder > 
         
       
     
  
   
  getResourceValueValue() 
  
    
public   int   getResourceValueValue ()  
   
   How valuable this resource is.
 .google.cloud.securitycenter.v1.ValuedResource.ResourceValue resource_value = 5;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
        The enum numeric value on the wire for resourceValue.
 
       
     
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  hashCode() 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   ValuedResource . Builder   newBuilderForType ()  
   
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   ValuedResource . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   ValuedResource . Builder   toBuilder ()  
   
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]