Class ProjectSubscriptionName (1.125.9)

public class ProjectSubscriptionName implements ResourceName

AUTO-GENERATED DOCUMENTATION AND CLASS

Inheritance

Object > ProjectSubscriptionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String subscription)

public static String format(String project, String subscription)
Parameters
NameDescription
projectString
subscriptionString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String subscription)

public static ProjectSubscriptionName of(String project, String subscription)
Parameters
NameDescription
projectString
subscriptionString
Returns
TypeDescription
ProjectSubscriptionName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ProjectSubscriptionName> values)

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

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

getSubscription()

public String getSubscription()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides