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