public class SourceName implements ResourceName
Inheritance
Object >
SourceName
Implements
com.google.api.resourcenames.ResourceName
Constructors
SourceName()
Methods
equals(Object o)
public boolean equals(Object o)
Parameter
Returns
Overrides
public static String format(String organization, String source)
Parameters
Returns
public static String formatFolderSourceName(String folder, String source)
Parameters
Returns
public static String formatOrganizationSourceName(String organization, String source)
Parameters
Returns
public static String formatProjectSourceName(String project, String source)
Parameters
Returns
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter
Name | Description |
fieldName | String
|
Returns
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
Returns
getFolder()
public String getFolder()
Returns
getOrganization()
public String getOrganization()
Returns
getProject()
public String getProject()
Returns
getSource()
public String getSource()
Returns
hashCode()
Returns
Overrides
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter
Name | Description |
formattedString | String
|
Returns
newBuilder()
public static SourceName.Builder newBuilder()
Returns
newFolderSourceBuilder()
public static SourceName.FolderSourceBuilder newFolderSourceBuilder()
Returns
newOrganizationSourceBuilder()
public static SourceName.Builder newOrganizationSourceBuilder()
Returns
newProjectSourceBuilder()
public static SourceName.ProjectSourceBuilder newProjectSourceBuilder()
Returns
of(String organization, String source)
public static SourceName of(String organization, String source)
Parameters
Returns
ofFolderSourceName(String folder, String source)
public static SourceName ofFolderSourceName(String folder, String source)
Parameters
Returns
ofOrganizationSourceName(String organization, String source)
public static SourceName ofOrganizationSourceName(String organization, String source)
Parameters
Returns
ofProjectSourceName(String project, String source)
public static SourceName ofProjectSourceName(String project, String source)
Parameters
Returns
parse(String formattedString)
public static SourceName parse(String formattedString)
Parameter
Name | Description |
formattedString | String
|
Returns
parseList(List<String> formattedStrings)
public static List<SourceName> parseList(List<String> formattedStrings)
Parameter
Returns
toBuilder()
public SourceName.Builder toBuilder()
Returns
toString()
Returns
Overrides
toStringList(List<SourceName> values)
public static List<String> toStringList(List<SourceName> values)
Parameter
Returns