Class FindingName (2.45.0)

public class FindingName implements ResourceName

Inheritance

Object > FindingName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String organization, String source, String finding)

public static String format(String organization, String source, String finding)
Parameters
NameDescription
organizationString
sourceString
findingString
Returns
TypeDescription
String

formatFolderSourceFindingName(String folder, String source, String finding)

public static String formatFolderSourceFindingName(String folder, String source, String finding)
Parameters
NameDescription
folderString
sourceString
findingString
Returns
TypeDescription
String

formatFolderSourceLocationFindingName(String folder, String source, String location, String finding)

public static String formatFolderSourceLocationFindingName(String folder, String source, String location, String finding)
Parameters
NameDescription
folderString
sourceString
locationString
findingString
Returns
TypeDescription
String

formatOrganizationSourceFindingName(String organization, String source, String finding)

public static String formatOrganizationSourceFindingName(String organization, String source, String finding)
Parameters
NameDescription
organizationString
sourceString
findingString
Returns
TypeDescription
String

formatOrganizationSourceLocationFindingName(String organization, String source, String location, String finding)

public static String formatOrganizationSourceLocationFindingName(String organization, String source, String location, String finding)
Parameters
NameDescription
organizationString
sourceString
locationString
findingString
Returns
TypeDescription
String

formatProjectSourceFindingName(String project, String source, String finding)

public static String formatProjectSourceFindingName(String project, String source, String finding)
Parameters
NameDescription
projectString
sourceString
findingString
Returns
TypeDescription
String

formatProjectSourceLocationFindingName(String project, String source, String location, String finding)

public static String formatProjectSourceLocationFindingName(String project, String source, String location, String finding)
Parameters
NameDescription
projectString
sourceString
locationString
findingString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static FindingName.Builder newBuilder()
Returns
TypeDescription
FindingName.Builder

newFolderSourceFindingBuilder()

public static FindingName.FolderSourceFindingBuilder newFolderSourceFindingBuilder()
Returns
TypeDescription
FindingName.FolderSourceFindingBuilder

newFolderSourceLocationFindingBuilder()

public static FindingName.FolderSourceLocationFindingBuilder newFolderSourceLocationFindingBuilder()
Returns
TypeDescription
FindingName.FolderSourceLocationFindingBuilder

newOrganizationSourceFindingBuilder()

public static FindingName.Builder newOrganizationSourceFindingBuilder()
Returns
TypeDescription
FindingName.Builder

newOrganizationSourceLocationFindingBuilder()

public static FindingName.OrganizationSourceLocationFindingBuilder newOrganizationSourceLocationFindingBuilder()
Returns
TypeDescription
FindingName.OrganizationSourceLocationFindingBuilder

newProjectSourceFindingBuilder()

public static FindingName.ProjectSourceFindingBuilder newProjectSourceFindingBuilder()
Returns
TypeDescription
FindingName.ProjectSourceFindingBuilder

newProjectSourceLocationFindingBuilder()

public static FindingName.ProjectSourceLocationFindingBuilder newProjectSourceLocationFindingBuilder()
Returns
TypeDescription
FindingName.ProjectSourceLocationFindingBuilder

of(String organization, String source, String finding)

public static FindingName of(String organization, String source, String finding)
Parameters
NameDescription
organizationString
sourceString
findingString
Returns
TypeDescription
FindingName

ofFolderSourceFindingName(String folder, String source, String finding)

public static FindingName ofFolderSourceFindingName(String folder, String source, String finding)
Parameters
NameDescription
folderString
sourceString
findingString
Returns
TypeDescription
FindingName

ofFolderSourceLocationFindingName(String folder, String source, String location, String finding)

public static FindingName ofFolderSourceLocationFindingName(String folder, String source, String location, String finding)
Parameters
NameDescription
folderString
sourceString
locationString
findingString
Returns
TypeDescription
FindingName

ofOrganizationSourceFindingName(String organization, String source, String finding)

public static FindingName ofOrganizationSourceFindingName(String organization, String source, String finding)
Parameters
NameDescription
organizationString
sourceString
findingString
Returns
TypeDescription
FindingName

ofOrganizationSourceLocationFindingName(String organization, String source, String location, String finding)

public static FindingName ofOrganizationSourceLocationFindingName(String organization, String source, String location, String finding)
Parameters
NameDescription
organizationString
sourceString
locationString
findingString
Returns
TypeDescription
FindingName

ofProjectSourceFindingName(String project, String source, String finding)

public static FindingName ofProjectSourceFindingName(String project, String source, String finding)
Parameters
NameDescription
projectString
sourceString
findingString
Returns
TypeDescription
FindingName

ofProjectSourceLocationFindingName(String project, String source, String location, String finding)

public static FindingName ofProjectSourceLocationFindingName(String project, String source, String location, String finding)
Parameters
NameDescription
projectString
sourceString
locationString
findingString
Returns
TypeDescription
FindingName

parse(String formattedString)

public static FindingName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
FindingName

parseList(List<String> formattedStrings)

public static List<FindingName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<FindingName>

toStringList(List<FindingName> values)

public static List<String> toStringList(List<FindingName> values)
Parameter
NameDescription
valuesList<FindingName>
Returns
TypeDescription
List<String>

Constructors

FindingName() (deprecated)

protected FindingName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getFinding()

public String getFinding()
Returns
TypeDescription
String

getFolder()

public String getFolder()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSource()

public String getSource()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public FindingName.Builder toBuilder()
Returns
TypeDescription
FindingName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides