Package com.google.cloud.vision.v1
Class ImageName
- java.lang.Object
-
- com.google.cloud.vision.v1.ImageName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by GAPIC protoc plugin") public class ImageName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImageName.Builder
Builder for ImageName.
-
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 product, String image)
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getImage()
String
getLocation()
String
getProduct()
String
getProject()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static ImageName.Builder
newBuilder()
static ImageName
of(String project, String location, String product, String image)
static ImageName
parse(String formattedString)
static List<ImageName>
parseList(List<String> formattedStrings)
ImageName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<ImageName> values)
-
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getProduct
public String getProduct()
-
getImage
public String getImage()
-
newBuilder
public static ImageName.Builder newBuilder()
-
toBuilder
public ImageName.Builder toBuilder()
-
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
-
-