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 classDeviceName.BuilderBuilder for projects/{project}/locations/{location}/registries/{registry}/devices/{device}.
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceName()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static Stringformat(String project, String location, String registry, String device)StringgetDevice()StringgetFieldValue(String fieldName)Map<String,String>getFieldValuesMap()StringgetLocation()StringgetProject()StringgetRegistry()inthashCode()static booleanisParsableFrom(String formattedString)static DeviceName.BuildernewBuilder()static DeviceNameof(String project, String location, String registry, String device)static DeviceNameparse(String formattedString)static List<DeviceName>parseList(List<String> formattedStrings)DeviceName.BuildertoBuilder()StringtoString()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:
getFieldValuesMapin interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValuein interfacecom.google.api.resourcenames.ResourceName
-
-