@Generated(value="by gapic-generator-java") public class BranchRuleName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
BranchRuleName.Builder
Builder for
projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
BranchRuleName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String repository,
String branchRule) |
String |
getBranchRule() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getProject() |
String |
getRepository() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static BranchRuleName.Builder |
newBuilder() |
static BranchRuleName |
of(String project,
String location,
String repository,
String branchRule) |
static BranchRuleName |
parse(String formattedString) |
static List<BranchRuleName> |
parseList(List<String> formattedStrings) |
BranchRuleName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<BranchRuleName> values) |
@Deprecated protected BranchRuleName()
public String getProject()
public String getLocation()
public String getRepository()
public String getBranchRule()
public static BranchRuleName.Builder newBuilder()
public BranchRuleName.Builder toBuilder()
public static BranchRuleName of(String project, String location, String repository, String branchRule)
public static String format(String project, String location, String repository, String branchRule)
public static BranchRuleName parse(String formattedString)
public static List<BranchRuleName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<BranchRuleName> 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.