Package com.google.cloud.dataplex.v1
Class AssetName
- java.lang.Object
-
- com.google.cloud.dataplex.v1.AssetName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class AssetName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AssetName.Builder
Builder for projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AssetName()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static String
format(String project, String location, String lake, String zone, String asset)
String
getAsset()
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getLake()
String
getLocation()
String
getProject()
String
getZone()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static AssetName.Builder
newBuilder()
static AssetName
of(String project, String location, String lake, String zone, String asset)
static AssetName
parse(String formattedString)
static List<AssetName>
parseList(List<String> formattedStrings)
AssetName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<AssetName> values)
-
-
-
Constructor Detail
-
AssetName
@Deprecated protected AssetName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getLake
public String getLake()
-
getZone
public String getZone()
-
getAsset
public String getAsset()
-
newBuilder
public static AssetName.Builder newBuilder()
-
toBuilder
public AssetName.Builder toBuilder()
-
of
public static AssetName of(String project, String location, String lake, String zone, String asset)
-
format
public static String format(String project, String location, String lake, String zone, String asset)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-