@Generated(value="by gapic-generator-java") public class DeploymentName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
DeploymentName.Builder
Builder for
projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/deployments/{deployment}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DeploymentName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String agent,
String environment,
String deployment) |
String |
getAgent() |
String |
getDeployment() |
String |
getEnvironment() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static DeploymentName.Builder |
newBuilder() |
static DeploymentName |
of(String project,
String location,
String agent,
String environment,
String deployment) |
static DeploymentName |
parse(String formattedString) |
static List<DeploymentName> |
parseList(List<String> formattedStrings) |
DeploymentName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<DeploymentName> values) |
@Deprecated protected DeploymentName()
public String getProject()
public String getLocation()
public String getAgent()
public String getEnvironment()
public String getDeployment()
public static DeploymentName.Builder newBuilder()
public DeploymentName.Builder toBuilder()
public static DeploymentName of(String project, String location, String agent, String environment, String deployment)
public static String format(String project, String location, String agent, String environment, String deployment)
public static DeploymentName parse(String formattedString)
public static List<DeploymentName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<DeploymentName> 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 © 2022 Google LLC. All rights reserved.