Class SubscriberName (0.2.0)

public class SubscriberName implements ResourceName

Inheritance

Object > SubscriberName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String subscriber)

public static String format(String project, String subscriber)
Parameters
Name Description
project String
subscriber 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 SubscriberName.Builder newBuilder()
Returns
Type Description
SubscriberName.Builder

of(String project, String subscriber)

public static SubscriberName of(String project, String subscriber)
Parameters
Name Description
project String
subscriber String
Returns
Type Description
SubscriberName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<SubscriberName> values)

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

Constructors

SubscriberName() (deprecated)

protected SubscriberName()

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>

getProject()

public String getProject()
Returns
Type Description
String

getSubscriber()

public String getSubscriber()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides