Class TermsOfServiceName (0.1.0)

public class TermsOfServiceName implements ResourceName

Inheritance

Object > TermsOfServiceName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String version)

public static String format(String version)
Parameter
Name Description
version 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 TermsOfServiceName.Builder newBuilder()
Returns
Type Description
TermsOfServiceName.Builder

of(String version)

public static TermsOfServiceName of(String version)
Parameter
Name Description
version String
Returns
Type Description
TermsOfServiceName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<TermsOfServiceName> values)

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

Constructors

TermsOfServiceName() (deprecated)

protected TermsOfServiceName()

Methods

equals(Object o)

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

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>

getVersion()

public String getVersion()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides