Class ChunkName (0.36.0)

public class ChunkName implements ResourceName

Inheritance

Object > ChunkName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String dataStore, String branch, String document, String chunk)

public static String format(String project, String location, String dataStore, String branch, String document, String chunk)
Parameters
NameDescription
projectString
locationString
dataStoreString
branchString
documentString
chunkString
Returns
TypeDescription
String

formatProjectLocationCollectionDataStoreBranchDocumentChunkName(String project, String location, String collection, String dataStore, String branch, String document, String chunk)

public static String formatProjectLocationCollectionDataStoreBranchDocumentChunkName(String project, String location, String collection, String dataStore, String branch, String document, String chunk)
Parameters
NameDescription
projectString
locationString
collectionString
dataStoreString
branchString
documentString
chunkString
Returns
TypeDescription
String

formatProjectLocationDataStoreBranchDocumentChunkName(String project, String location, String dataStore, String branch, String document, String chunk)

public static String formatProjectLocationDataStoreBranchDocumentChunkName(String project, String location, String dataStore, String branch, String document, String chunk)
Parameters
NameDescription
projectString
locationString
dataStoreString
branchString
documentString
chunkString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newProjectLocationCollectionDataStoreBranchDocumentChunkBuilder()

public static ChunkName.ProjectLocationCollectionDataStoreBranchDocumentChunkBuilder newProjectLocationCollectionDataStoreBranchDocumentChunkBuilder()
Returns
TypeDescription
ChunkName.ProjectLocationCollectionDataStoreBranchDocumentChunkBuilder

newProjectLocationDataStoreBranchDocumentChunkBuilder()

public static ChunkName.Builder newProjectLocationDataStoreBranchDocumentChunkBuilder()
Returns
TypeDescription
ChunkName.Builder

of(String project, String location, String dataStore, String branch, String document, String chunk)

public static ChunkName of(String project, String location, String dataStore, String branch, String document, String chunk)
Parameters
NameDescription
projectString
locationString
dataStoreString
branchString
documentString
chunkString
Returns
TypeDescription
ChunkName

ofProjectLocationCollectionDataStoreBranchDocumentChunkName(String project, String location, String collection, String dataStore, String branch, String document, String chunk)

public static ChunkName ofProjectLocationCollectionDataStoreBranchDocumentChunkName(String project, String location, String collection, String dataStore, String branch, String document, String chunk)
Parameters
NameDescription
projectString
locationString
collectionString
dataStoreString
branchString
documentString
chunkString
Returns
TypeDescription
ChunkName

ofProjectLocationDataStoreBranchDocumentChunkName(String project, String location, String dataStore, String branch, String document, String chunk)

public static ChunkName ofProjectLocationDataStoreBranchDocumentChunkName(String project, String location, String dataStore, String branch, String document, String chunk)
Parameters
NameDescription
projectString
locationString
dataStoreString
branchString
documentString
chunkString
Returns
TypeDescription
ChunkName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ChunkName> values)

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

Constructors

ChunkName() (deprecated)

protected ChunkName()

Methods

equals(Object o)

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

getBranch()

public String getBranch()
Returns
TypeDescription
String

getChunk()

public String getChunk()
Returns
TypeDescription
String

getCollection()

public String getCollection()
Returns
TypeDescription
String

getDataStore()

public String getDataStore()
Returns
TypeDescription
String

getDocument()

public String getDocument()
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 ChunkName.Builder toBuilder()
Returns
TypeDescription
ChunkName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides