Package com.google.cloud.iot.v1
Class DeviceName
- java.lang.Object
-
- com.google.cloud.iot.v1.DeviceName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class DeviceName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeviceName.Builder
Builder for projects/{project}/locations/{location}/registries/{registry}/devices/{device}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DeviceName()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
DeviceName
@Deprecated protected DeviceName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getRegistry
public String getRegistry()
-
getDevice
public String getDevice()
-
newBuilder
public static DeviceName.Builder newBuilder()
-
toBuilder
public DeviceName.Builder toBuilder()
-
of
public static DeviceName of(String project, String location, String registry, String device)
-
format
public static String format(String project, String location, String registry, String device)
-
parse
public static DeviceName parse(String formattedString)
-
parseList
public static List<DeviceName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<DeviceName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-