Class NetworkName (0.10.0)

public class NetworkName implements ResourceName

Inheritance

Object > NetworkName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String network)

public static String format(String project, String location, String network)
Parameters
NameDescription
projectString
locationString
networkString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static NetworkName.Builder newBuilder()
Returns
TypeDescription
NetworkName.Builder

of(String project, String location, String network)

public static NetworkName of(String project, String location, String network)
Parameters
NameDescription
projectString
locationString
networkString
Returns
TypeDescription
NetworkName

parse(String formattedString)

public static NetworkName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
NetworkName

parseList(List<String> formattedStrings)

public static List<NetworkName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<NetworkName>

toStringList(List<NetworkName> values)

public static List<String> toStringList(List<NetworkName> values)
Parameter
NameDescription
valuesList<NetworkName>
Returns
TypeDescription
List<String>

Constructors

NetworkName()

protected NetworkName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getNetwork()

public String getNetwork()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public NetworkName.Builder toBuilder()
Returns
TypeDescription
NetworkName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides