@Generated(value="by gapic-generator-java") public class BranchName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
BranchName.Builder
Builder for projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}.
|
static class |
BranchName.ProjectLocationCollectionDataStoreBranchBuilder
Builder for
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
BranchName()
Deprecated.
|
@Deprecated protected BranchName()
public String getProject()
public String getLocation()
public String getDataStore()
public String getBranch()
public String getCollection()
public static BranchName.Builder newBuilder()
public static BranchName.Builder newProjectLocationDataStoreBranchBuilder()
public static BranchName.ProjectLocationCollectionDataStoreBranchBuilder newProjectLocationCollectionDataStoreBranchBuilder()
public BranchName.Builder toBuilder()
public static BranchName of(String project, String location, String dataStore, String branch)
public static BranchName ofProjectLocationDataStoreBranchName(String project, String location, String dataStore, String branch)
public static BranchName ofProjectLocationCollectionDataStoreBranchName(String project, String location, String collection, String dataStore, String branch)
public static String format(String project, String location, String dataStore, String branch)
public static String formatProjectLocationDataStoreBranchName(String project, String location, String dataStore, String branch)
public static String formatProjectLocationCollectionDataStoreBranchName(String project, String location, String collection, String dataStore, String branch)
public static BranchName parse(String formattedString)
public static List<BranchName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<BranchName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2025 Google LLC. All rights reserved.