Class SettingName (1.13.0)

public class SettingName implements ResourceName

Inheritance

Object > SettingName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String projectNumber, String settingName)

public static String format(String projectNumber, String settingName)
Parameters
NameDescription
projectNumberString
settingNameString
Returns
TypeDescription
String

formatFolderSettingNameName(String folder, String settingName)

public static String formatFolderSettingNameName(String folder, String settingName)
Parameters
NameDescription
folderString
settingNameString
Returns
TypeDescription
String

formatOrganizationSettingNameName(String organization, String settingName)

public static String formatOrganizationSettingNameName(String organization, String settingName)
Parameters
NameDescription
organizationString
settingNameString
Returns
TypeDescription
String

formatProjectNumberSettingNameName(String projectNumber, String settingName)

public static String formatProjectNumberSettingNameName(String projectNumber, String settingName)
Parameters
NameDescription
projectNumberString
settingNameString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newFolderSettingNameBuilder()

public static SettingName.FolderSettingNameBuilder newFolderSettingNameBuilder()
Returns
TypeDescription
SettingName.FolderSettingNameBuilder

newOrganizationSettingNameBuilder()

public static SettingName.OrganizationSettingNameBuilder newOrganizationSettingNameBuilder()
Returns
TypeDescription
SettingName.OrganizationSettingNameBuilder

newProjectNumberSettingNameBuilder()

public static SettingName.Builder newProjectNumberSettingNameBuilder()
Returns
TypeDescription
SettingName.Builder

of(String projectNumber, String settingName)

public static SettingName of(String projectNumber, String settingName)
Parameters
NameDescription
projectNumberString
settingNameString
Returns
TypeDescription
SettingName

ofFolderSettingNameName(String folder, String settingName)

public static SettingName ofFolderSettingNameName(String folder, String settingName)
Parameters
NameDescription
folderString
settingNameString
Returns
TypeDescription
SettingName

ofOrganizationSettingNameName(String organization, String settingName)

public static SettingName ofOrganizationSettingNameName(String organization, String settingName)
Parameters
NameDescription
organizationString
settingNameString
Returns
TypeDescription
SettingName

ofProjectNumberSettingNameName(String projectNumber, String settingName)

public static SettingName ofProjectNumberSettingNameName(String projectNumber, String settingName)
Parameters
NameDescription
projectNumberString
settingNameString
Returns
TypeDescription
SettingName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<SettingName> values)

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

Constructors

SettingName()

protected SettingName()

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

getProjectNumber()

public String getProjectNumber()
Returns
TypeDescription
String

getSettingName()

public String getSettingName()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides