@Generated(value="by gapic-generator-java") public class DeviceName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
DeviceName.Builder
Builder for projects/{project}/locations/{location}/registries/{registry}/devices/{device}.
|
Modifier | Constructor and Description |
---|---|
protected |
DeviceName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String registry,
String device) |
String |
getDevice() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getProject() |
String |
getRegistry() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static DeviceName.Builder |
newBuilder() |
static DeviceName |
of(String project,
String location,
String registry,
String device) |
static DeviceName |
parse(String formattedString) |
static List<DeviceName> |
parseList(List<String> formattedStrings) |
DeviceName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<DeviceName> values) |
@Deprecated protected DeviceName()
public String getProject()
public String getLocation()
public String getRegistry()
public String getDevice()
public static DeviceName.Builder newBuilder()
public DeviceName.Builder toBuilder()
public static DeviceName of(String project, String location, String registry, String device)
public static DeviceName parse(String formattedString)
public static List<DeviceName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<DeviceName> 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 © 2022 Google LLC. All rights reserved.