Class DocumentLinkName (0.10.0)

public class DocumentLinkName implements ResourceName

Inheritance

Object > DocumentLinkName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String document, String documentLink)

public static String format(String project, String location, String document, String documentLink)
Parameters
NameDescription
projectString
locationString
documentString
documentLinkString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static DocumentLinkName.Builder newBuilder()
Returns
TypeDescription
DocumentLinkName.Builder

of(String project, String location, String document, String documentLink)

public static DocumentLinkName of(String project, String location, String document, String documentLink)
Parameters
NameDescription
projectString
locationString
documentString
documentLinkString
Returns
TypeDescription
DocumentLinkName

parse(String formattedString)

public static DocumentLinkName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
DocumentLinkName

parseList(List<String> formattedStrings)

public static List<DocumentLinkName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<DocumentLinkName>

toStringList(List<DocumentLinkName> values)

public static List<String> toStringList(List<DocumentLinkName> values)
Parameter
NameDescription
valuesList<DocumentLinkName>
Returns
TypeDescription
List<String>

Constructors

DocumentLinkName()

protected DocumentLinkName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getDocument()

public String getDocument()
Returns
TypeDescription
String
public String getDocumentLink()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public DocumentLinkName.Builder toBuilder()
Returns
TypeDescription
DocumentLinkName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides