Class VolumeName (0.16.0)

public class VolumeName implements ResourceName

Inheritance

Object > VolumeName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String volume)

public static String format(String project, String location, String volume)
Parameters
NameDescription
projectString
locationString
volumeString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String volume)

public static VolumeName of(String project, String location, String volume)
Parameters
NameDescription
projectString
locationString
volumeString
Returns
TypeDescription
VolumeName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<VolumeName> values)

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

Constructors

VolumeName()

protected VolumeName()

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

getProject()

public String getProject()
Returns
TypeDescription
String

getVolume()

public String getVolume()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides