@Generated(value="by GAPIC protoc plugin") public class ProjectSubscriptionName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
ProjectSubscriptionName.Builder
Builder for ProjectSubscriptionName.
|
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 ProjectSubscriptionName.Builder |
newBuilder() |
static ProjectSubscriptionName |
of(String project,
String subscription) |
static ProjectSubscriptionName |
parse(String formattedString) |
static List<ProjectSubscriptionName> |
parseList(List<String> formattedStrings) |
ProjectSubscriptionName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<ProjectSubscriptionName> values) |
public String getProject()
public String getSubscription()
public static ProjectSubscriptionName.Builder newBuilder()
public ProjectSubscriptionName.Builder toBuilder()
public static ProjectSubscriptionName of(String project, String subscription)
public static ProjectSubscriptionName parse(String formattedString)
public static List<ProjectSubscriptionName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<ProjectSubscriptionName> 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.