Class ContentName (1.30.0)

public class ContentName implements ResourceName

Inheritance

Object > ContentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String lake, String content)

public static String format(String project, String location, String lake, String content)
Parameters
NameDescription
projectString
locationString
lakeString
contentString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String lake, String content)

public static ContentName of(String project, String location, String lake, String content)
Parameters
NameDescription
projectString
locationString
lakeString
contentString
Returns
TypeDescription
ContentName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ContentName> values)

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

Constructors

ContentName() (deprecated)

protected ContentName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getContent()

public String getContent()
Returns
TypeDescription
String

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>

getLake()

public String getLake()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides