Class SettingName (1.47.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
Name Description
projectNumber String
settingName String
Returns
Type Description
String

formatFolderSettingNameName(String folder, String settingName)

public static String formatFolderSettingNameName(String folder, String settingName)
Parameters
Name Description
folder String
settingName String
Returns
Type Description
String

formatOrganizationSettingNameName(String organization, String settingName)

public static String formatOrganizationSettingNameName(String organization, String settingName)
Parameters
Name Description
organization String
settingName String
Returns
Type Description
String

formatProjectNumberSettingNameName(String projectNumber, String settingName)

public static String formatProjectNumberSettingNameName(String projectNumber, String settingName)
Parameters
Name Description
projectNumber String
settingName String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static SettingName.Builder newBuilder()
Returns
Type Description
SettingName.Builder

newFolderSettingNameBuilder()

public static SettingName.FolderSettingNameBuilder newFolderSettingNameBuilder()
Returns
Type Description
SettingName.FolderSettingNameBuilder

newOrganizationSettingNameBuilder()

public static SettingName.OrganizationSettingNameBuilder newOrganizationSettingNameBuilder()
Returns
Type Description
SettingName.OrganizationSettingNameBuilder

newProjectNumberSettingNameBuilder()

public static SettingName.Builder newProjectNumberSettingNameBuilder()
Returns
Type Description
SettingName.Builder

of(String projectNumber, String settingName)

public static SettingName of(String projectNumber, String settingName)
Parameters
Name Description
projectNumber String
settingName String
Returns
Type Description
SettingName

ofFolderSettingNameName(String folder, String settingName)

public static SettingName ofFolderSettingNameName(String folder, String settingName)
Parameters
Name Description
folder String
settingName String
Returns
Type Description
SettingName

ofOrganizationSettingNameName(String organization, String settingName)

public static SettingName ofOrganizationSettingNameName(String organization, String settingName)
Parameters
Name Description
organization String
settingName String
Returns
Type Description
SettingName

ofProjectNumberSettingNameName(String projectNumber, String settingName)

public static SettingName ofProjectNumberSettingNameName(String projectNumber, String settingName)
Parameters
Name Description
projectNumber String
settingName String
Returns
Type Description
SettingName

parse(String formattedString)

public static SettingName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
SettingName

parseList(List<String> formattedStrings)

public static List<SettingName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<SettingName>

toStringList(List<SettingName> values)

public static List<String> toStringList(List<SettingName> values)
Parameter
Name Description
values List<SettingName>
Returns
Type Description
List<String>

Constructors

SettingName() (deprecated)

protected SettingName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getFolder()

public String getFolder()
Returns
Type Description
String

getOrganization()

public String getOrganization()
Returns
Type Description
String

getProjectNumber()

public String getProjectNumber()
Returns
Type Description
String

getSettingName()

public String getSettingName()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public SettingName.Builder toBuilder()
Returns
Type Description
SettingName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides