@Generated(value="by gapic-generator-java") public class AgentName extends Object implements ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
AgentName.Builder
Builder for projects/{project}/agent.
|
static class |
AgentName.ProjectLocationBuilder
Builder for projects/{project}/locations/{location}/agent.
|
Modifier | Constructor and Description |
---|---|
protected |
AgentName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project) |
static String |
formatProjectLocationName(String project,
String location) |
static String |
formatProjectName(String project) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static AgentName.Builder |
newBuilder() |
static AgentName.Builder |
newProjectBuilder() |
static AgentName.ProjectLocationBuilder |
newProjectLocationBuilder() |
static AgentName |
of(String project) |
static AgentName |
ofProjectLocationName(String project,
String location) |
static AgentName |
ofProjectName(String project) |
static AgentName |
parse(String formattedString) |
static List<AgentName> |
parseList(List<String> formattedStrings) |
AgentName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<AgentName> values) |
@Deprecated protected AgentName()
public String getProject()
public String getLocation()
public static AgentName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static AgentName.Builder newProjectBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static AgentName.ProjectLocationBuilder newProjectLocationBuilder()
public AgentName.Builder toBuilder()
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static AgentName ofProjectName(String project)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static AgentName ofProjectLocationName(String project, String location)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectName(String project)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationName(String project, String location)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface ResourceName
Copyright © 2022 Google LLC. All rights reserved.