Class DocumentSchemaName
- java.lang.Object
-
- com.google.cloud.contentwarehouse.v1.DocumentSchemaName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class DocumentSchemaName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DocumentSchemaName.Builder
Builder for projects/{project}/locations/{location}/documentSchemas/{document_schema}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DocumentSchemaName()
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 documentSchema)
String
getDocumentSchema()
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getLocation()
String
getProject()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static DocumentSchemaName.Builder
newBuilder()
static DocumentSchemaName
of(String project, String location, String documentSchema)
static DocumentSchemaName
parse(String formattedString)
static List<DocumentSchemaName>
parseList(List<String> formattedStrings)
DocumentSchemaName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<DocumentSchemaName> values)
-
-
-
Constructor Detail
-
DocumentSchemaName
@Deprecated protected DocumentSchemaName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getDocumentSchema
public String getDocumentSchema()
-
newBuilder
public static DocumentSchemaName.Builder newBuilder()
-
toBuilder
public DocumentSchemaName.Builder toBuilder()
-
of
public static DocumentSchemaName of(String project, String location, String documentSchema)
-
parse
public static DocumentSchemaName parse(String formattedString)
-
parseList
public static List<DocumentSchemaName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<DocumentSchemaName> values)
-
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
-
-