Class DocumentName
- java.lang.Object
-
- com.google.cloud.contentwarehouse.v1.DocumentName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class DocumentName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DocumentName.Builder
Builder for projects/{project}/locations/{location}/documents/{document}.static class
DocumentName.ProjectLocationReferenceIdBuilder
Builder for projects/{project}/locations/{location}/documents/referenceId/{reference_id}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DocumentName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
DocumentName
@Deprecated protected DocumentName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getDocument
public String getDocument()
-
getReferenceId
public String getReferenceId()
-
newBuilder
public static DocumentName.Builder newBuilder()
-
newProjectLocationDocumentBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static DocumentName.Builder newProjectLocationDocumentBuilder()
-
newProjectLocationReferenceIdBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static DocumentName.ProjectLocationReferenceIdBuilder newProjectLocationReferenceIdBuilder()
-
toBuilder
public DocumentName.Builder toBuilder()
-
of
public static DocumentName of(String project, String location, String document)
-
ofProjectLocationDocumentName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static DocumentName ofProjectLocationDocumentName(String project, String location, String document)
-
ofProjectLocationReferenceIdName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static DocumentName ofProjectLocationReferenceIdName(String project, String location, String referenceId)
-
formatProjectLocationDocumentName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationDocumentName(String project, String location, String document)
-
formatProjectLocationReferenceIdName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationReferenceIdName(String project, String location, String referenceId)
-
parse
public static DocumentName parse(String formattedString)
-
parseList
public static List<DocumentName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<DocumentName> 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
-
-