@Generated(value="by gapic-generator-java") public class SubscriptionName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
SubscriptionName.Builder
Builder for projects/{project}/subscriptions/{subscription}.
|
Modifier | Constructor and Description |
---|---|
protected |
SubscriptionName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String subscription) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getProject() |
String |
getSubscription() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static SubscriptionName.Builder |
newBuilder() |
static SubscriptionName |
of(String project,
String subscription) |
static SubscriptionName |
parse(String formattedString) |
static List<SubscriptionName> |
parseList(List<String> formattedStrings) |
SubscriptionName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<SubscriptionName> values) |
@Deprecated protected SubscriptionName()
public String getProject()
public String getSubscription()
public static SubscriptionName.Builder newBuilder()
public SubscriptionName.Builder toBuilder()
public static SubscriptionName of(String project, String subscription)
public static SubscriptionName parse(String formattedString)
public static List<SubscriptionName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<SubscriptionName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2023 Google LLC. All rights reserved.