Class AttachmentName (0.4.0)

public class AttachmentName implements ResourceName

Inheritance

Object > AttachmentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String space, String message, String attachment)

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

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String space, String message, String attachment)

public static AttachmentName of(String space, String message, String attachment)
Parameters
NameDescription
spaceString
messageString
attachmentString
Returns
TypeDescription
AttachmentName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AttachmentName> values)

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

Constructors

AttachmentName() (deprecated)

protected AttachmentName()

Methods

equals(Object o)

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

getAttachment()

public String getAttachment()
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>

getMessage()

public String getMessage()
Returns
TypeDescription
String

getSpace()

public String getSpace()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides