Class SnoozeName (3.29.0)

public class SnoozeName implements ResourceName

Inheritance

Object > SnoozeName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String snooze)

public static String format(String project, String snooze)
Parameters
NameDescription
projectString
snoozeString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String snooze)

public static SnoozeName of(String project, String snooze)
Parameters
NameDescription
projectString
snoozeString
Returns
TypeDescription
SnoozeName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<SnoozeName> values)

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

Constructors

SnoozeName()

protected SnoozeName()

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>

getProject()

public String getProject()
Returns
TypeDescription
String

getSnooze()

public String getSnooze()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides