Class SitemapName (0.50.0)

public class SitemapName implements ResourceName

Inheritance

Object > SitemapName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String dataStore, String sitemap)

public static String format(String project, String location, String dataStore, String sitemap)
Parameters
Name Description
project String
location String
dataStore String
sitemap String
Returns
Type Description
String

formatProjectLocationCollectionDataStoreSitemapName(String project, String location, String collection, String dataStore, String sitemap)

public static String formatProjectLocationCollectionDataStoreSitemapName(String project, String location, String collection, String dataStore, String sitemap)
Parameters
Name Description
project String
location String
collection String
dataStore String
sitemap String
Returns
Type Description
String

formatProjectLocationDataStoreSitemapName(String project, String location, String dataStore, String sitemap)

public static String formatProjectLocationDataStoreSitemapName(String project, String location, String dataStore, String sitemap)
Parameters
Name Description
project String
location String
dataStore String
sitemap 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 SitemapName.Builder newBuilder()
Returns
Type Description
SitemapName.Builder

newProjectLocationCollectionDataStoreSitemapBuilder()

public static SitemapName.ProjectLocationCollectionDataStoreSitemapBuilder newProjectLocationCollectionDataStoreSitemapBuilder()
Returns
Type Description
SitemapName.ProjectLocationCollectionDataStoreSitemapBuilder

newProjectLocationDataStoreSitemapBuilder()

public static SitemapName.Builder newProjectLocationDataStoreSitemapBuilder()
Returns
Type Description
SitemapName.Builder

of(String project, String location, String dataStore, String sitemap)

public static SitemapName of(String project, String location, String dataStore, String sitemap)
Parameters
Name Description
project String
location String
dataStore String
sitemap String
Returns
Type Description
SitemapName

ofProjectLocationCollectionDataStoreSitemapName(String project, String location, String collection, String dataStore, String sitemap)

public static SitemapName ofProjectLocationCollectionDataStoreSitemapName(String project, String location, String collection, String dataStore, String sitemap)
Parameters
Name Description
project String
location String
collection String
dataStore String
sitemap String
Returns
Type Description
SitemapName

ofProjectLocationDataStoreSitemapName(String project, String location, String dataStore, String sitemap)

public static SitemapName ofProjectLocationDataStoreSitemapName(String project, String location, String dataStore, String sitemap)
Parameters
Name Description
project String
location String
dataStore String
sitemap String
Returns
Type Description
SitemapName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<SitemapName> values)

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

Constructors

SitemapName() (deprecated)

protected SitemapName()

Methods

equals(Object o)

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

getCollection()

public String getCollection()
Returns
Type Description
String

getDataStore()

public String getDataStore()
Returns
Type Description
String

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>

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getSitemap()

public String getSitemap()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides