Package com.google.cloud.notebooks.v1
Class RuntimeName
- java.lang.Object
-
- com.google.cloud.notebooks.v1.RuntimeName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class RuntimeName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuntimeName.BuilderBuilder for projects/{project}/locations/{location}/runtimes/{runtime}.
-
Constructor Summary
Constructors Modifier Constructor Description protectedRuntimeName()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 runtime)StringgetFieldValue(String fieldName)Map<String,String>getFieldValuesMap()StringgetLocation()StringgetProject()StringgetRuntime()inthashCode()static booleanisParsableFrom(String formattedString)static RuntimeName.BuildernewBuilder()static RuntimeNameof(String project, String location, String runtime)static RuntimeNameparse(String formattedString)static List<RuntimeName>parseList(List<String> formattedStrings)RuntimeName.BuildertoBuilder()StringtoString()static List<String>toStringList(List<RuntimeName> values)
-
-
-
Constructor Detail
-
RuntimeName
@Deprecated protected RuntimeName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getRuntime
public String getRuntime()
-
newBuilder
public static RuntimeName.Builder newBuilder()
-
toBuilder
public RuntimeName.Builder toBuilder()
-
of
public static RuntimeName of(String project, String location, String runtime)
-
parse
public static RuntimeName parse(String formattedString)
-
parseList
public static List<RuntimeName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<RuntimeName> 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
-
-