@Generated(value="by GAPIC protoc plugin")
public class AnyPathName
extends java.lang.Object
implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
AnyPathName.Builder
Builder for AnyPathName.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static java.lang.String |
format(java.lang.String project,
java.lang.String database,
java.lang.String document,
java.lang.String anyPath) |
java.lang.String |
getAnyPath() |
java.lang.String |
getDatabase() |
java.lang.String |
getDocument() |
java.lang.String |
getFieldValue(java.lang.String fieldName) |
java.util.Map<java.lang.String,java.lang.String> |
getFieldValuesMap() |
java.lang.String |
getProject() |
com.google.api.resourcenames.ResourceNameType |
getType()
Deprecated.
This method is only present to satisfy the ResourceName interface.
|
int |
hashCode() |
static boolean |
isParsableFrom(java.lang.String formattedString) |
static AnyPathName.Builder |
newBuilder() |
static AnyPathName |
of(java.lang.String project,
java.lang.String database,
java.lang.String document,
java.lang.String anyPath) |
static AnyPathName |
parse(java.lang.String formattedString) |
static java.util.List<AnyPathName> |
parseList(java.util.List<java.lang.String> formattedStrings) |
AnyPathName.Builder |
toBuilder() |
java.lang.String |
toString() |
static java.util.List<java.lang.String> |
toStringList(java.util.List<AnyPathName> values) |
public java.lang.String getProject()
public java.lang.String getDatabase()
public java.lang.String getDocument()
public java.lang.String getAnyPath()
public static AnyPathName.Builder newBuilder()
public AnyPathName.Builder toBuilder()
public static AnyPathName of(java.lang.String project, java.lang.String database, java.lang.String document, java.lang.String anyPath)
public static java.lang.String format(java.lang.String project, java.lang.String database, java.lang.String document, java.lang.String anyPath)
public static AnyPathName parse(java.lang.String formattedString)
public static java.util.List<AnyPathName> parseList(java.util.List<java.lang.String> formattedStrings)
public static java.util.List<java.lang.String> toStringList(java.util.List<AnyPathName> values)
public static boolean isParsableFrom(java.lang.String formattedString)
public java.util.Map<java.lang.String,java.lang.String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public java.lang.String getFieldValue(java.lang.String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
@Deprecated public com.google.api.resourcenames.ResourceNameType getType()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object