Class NotificationSubscriptionName (0.13.0)

public class NotificationSubscriptionName implements ResourceName

Inheritance

Object > NotificationSubscriptionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String account, String notificationSubscription)

public static String format(String account, String notificationSubscription)
Parameters
Name Description
account String
notificationSubscription 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 NotificationSubscriptionName.Builder newBuilder()
Returns
Type Description
NotificationSubscriptionName.Builder

of(String account, String notificationSubscription)

public static NotificationSubscriptionName of(String account, String notificationSubscription)
Parameters
Name Description
account String
notificationSubscription String
Returns
Type Description
NotificationSubscriptionName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<NotificationSubscriptionName> values)

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

Constructors

NotificationSubscriptionName() (deprecated)

protected NotificationSubscriptionName()

Methods

equals(Object o)

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

getAccount()

public String getAccount()
Returns
Type Description
String

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>

getNotificationSubscription()

public String getNotificationSubscription()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides