Class ChunkName (0.50.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
Name Description
project String
location String
dataStore String
branch String
document String
chunk String
Returns
Type Description
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
Name Description
project String
location String
collection String
dataStore String
branch String
document String
chunk String
Returns
Type Description
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
Name Description
project String
location String
dataStore String
branch String
document String
chunk String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static ChunkName.Builder newBuilder()
Returns
Type Description
ChunkName.Builder

newProjectLocationCollectionDataStoreBranchDocumentChunkBuilder()

public static ChunkName.ProjectLocationCollectionDataStoreBranchDocumentChunkBuilder newProjectLocationCollectionDataStoreBranchDocumentChunkBuilder()
Returns
Type Description
ChunkName.ProjectLocationCollectionDataStoreBranchDocumentChunkBuilder

newProjectLocationDataStoreBranchDocumentChunkBuilder()

public static ChunkName.Builder newProjectLocationDataStoreBranchDocumentChunkBuilder()
Returns
Type Description
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
Name Description
project String
location String
dataStore String
branch String
document String
chunk String
Returns
Type Description
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
Name Description
project String
location String
collection String
dataStore String
branch String
document String
chunk String
Returns
Type Description
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
Name Description
project String
location String
dataStore String
branch String
document String
chunk String
Returns
Type Description
ChunkName

parse(String formattedString)

public static ChunkName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
ChunkName

parseList(List<String> formattedStrings)

public static List<ChunkName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<ChunkName>

toStringList(List<ChunkName> values)

public static List<String> toStringList(List<ChunkName> values)
Parameter
Name Description
values List<ChunkName>
Returns
Type Description
List<String>

Constructors

ChunkName() (deprecated)

protected ChunkName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getBranch()

public String getBranch()
Returns
Type Description
String

getChunk()

public String getChunk()
Returns
Type Description
String

getCollection()

public String getCollection()
Returns
Type Description
String

getDataStore()

public String getDataStore()
Returns
Type Description
String

getDocument()

public String getDocument()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public ChunkName.Builder toBuilder()
Returns
Type Description
ChunkName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides