Class SavedQueryName (3.4.0)

public class SavedQueryName implements ResourceName

Inheritance

Object > SavedQueryName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String savedQuery)

public static String format(String project, String savedQuery)
Parameters
NameDescription
projectString
savedQueryString
Returns
TypeDescription
String

formatFolderSavedQueryName(String folder, String savedQuery)

public static String formatFolderSavedQueryName(String folder, String savedQuery)
Parameters
NameDescription
folderString
savedQueryString
Returns
TypeDescription
String

formatOrganizationSavedQueryName(String organization, String savedQuery)

public static String formatOrganizationSavedQueryName(String organization, String savedQuery)
Parameters
NameDescription
organizationString
savedQueryString
Returns
TypeDescription
String

formatProjectSavedQueryName(String project, String savedQuery)

public static String formatProjectSavedQueryName(String project, String savedQuery)
Parameters
NameDescription
projectString
savedQueryString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newFolderSavedQueryBuilder()

public static SavedQueryName.FolderSavedQueryBuilder newFolderSavedQueryBuilder()
Returns
TypeDescription
SavedQueryName.FolderSavedQueryBuilder

newOrganizationSavedQueryBuilder()

public static SavedQueryName.OrganizationSavedQueryBuilder newOrganizationSavedQueryBuilder()
Returns
TypeDescription
SavedQueryName.OrganizationSavedQueryBuilder

newProjectSavedQueryBuilder()

public static SavedQueryName.Builder newProjectSavedQueryBuilder()
Returns
TypeDescription
SavedQueryName.Builder

of(String project, String savedQuery)

public static SavedQueryName of(String project, String savedQuery)
Parameters
NameDescription
projectString
savedQueryString
Returns
TypeDescription
SavedQueryName

ofFolderSavedQueryName(String folder, String savedQuery)

public static SavedQueryName ofFolderSavedQueryName(String folder, String savedQuery)
Parameters
NameDescription
folderString
savedQueryString
Returns
TypeDescription
SavedQueryName

ofOrganizationSavedQueryName(String organization, String savedQuery)

public static SavedQueryName ofOrganizationSavedQueryName(String organization, String savedQuery)
Parameters
NameDescription
organizationString
savedQueryString
Returns
TypeDescription
SavedQueryName

ofProjectSavedQueryName(String project, String savedQuery)

public static SavedQueryName ofProjectSavedQueryName(String project, String savedQuery)
Parameters
NameDescription
projectString
savedQueryString
Returns
TypeDescription
SavedQueryName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<SavedQueryName> values)

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

Constructors

SavedQueryName()

protected SavedQueryName()

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>

getFolder()

public String getFolder()
Returns
TypeDescription
String

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSavedQuery()

public String getSavedQuery()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides