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