Class MessageName (0.4.0)

public class MessageName implements ResourceName

Inheritance

Object > MessageName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String space, String message)

public static String format(String space, String message)
Parameters
NameDescription
spaceString
messageString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String space, String message)

public static MessageName of(String space, String message)
Parameters
NameDescription
spaceString
messageString
Returns
TypeDescription
MessageName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<MessageName> values)

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

Constructors

MessageName() (deprecated)

protected MessageName()

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>

getMessage()

public String getMessage()
Returns
TypeDescription
String

getSpace()

public String getSpace()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides