@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}/catalogs/{catalog}/branches/{branch}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
BranchName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String catalog,
String branch) |
String |
getBranch() |
String |
getCatalog() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static BranchName.Builder |
newBuilder() |
static BranchName |
of(String project,
String location,
String catalog,
String branch) |
static BranchName |
parse(String formattedString) |
static List<BranchName> |
parseList(List<String> formattedStrings) |
BranchName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<BranchName> values) |
@Deprecated protected BranchName()
public String getProject()
public String getLocation()
public String getCatalog()
public String getBranch()
public static BranchName.Builder newBuilder()
public BranchName.Builder toBuilder()
public static BranchName of(String project, String location, String catalog, 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 © 2024 Google LLC. All rights reserved.