Class LinkedDeviceName (0.52.0)

public class LinkedDeviceName implements ResourceName

Inheritance

Object > LinkedDeviceName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String networkCode, String linkedDevice)

public static String format(String networkCode, String linkedDevice)
Parameters
Name Description
networkCode String
linkedDevice String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static LinkedDeviceName.Builder newBuilder()
Returns
Type Description
LinkedDeviceName.Builder

of(String networkCode, String linkedDevice)

public static LinkedDeviceName of(String networkCode, String linkedDevice)
Parameters
Name Description
networkCode String
linkedDevice String
Returns
Type Description
LinkedDeviceName

parse(String formattedString)

public static LinkedDeviceName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
LinkedDeviceName

parseList(List<String> formattedStrings)

public static List<LinkedDeviceName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<LinkedDeviceName>

toStringList(List<LinkedDeviceName> values)

public static List<String> toStringList(List<LinkedDeviceName> values)
Parameter
Name Description
values List<LinkedDeviceName>
Returns
Type Description
List<String>

Constructors

LinkedDeviceName() (deprecated)

protected LinkedDeviceName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getLinkedDevice()

public String getLinkedDevice()
Returns
Type Description
String

getNetworkCode()

public String getNetworkCode()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public LinkedDeviceName.Builder toBuilder()
Returns
Type Description
LinkedDeviceName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides