@Generated(value="by gapic-generator-java") public class AgentName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
AgentName.Builder
Builder for projects/{project}/agent.
|
static class |
AgentName.ProjectLocationAgentBuilder
Builder for projects/{project}/locations/{location}/agent.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AgentName()
Deprecated.
|
@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 newProjectAgentBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static AgentName.ProjectLocationAgentBuilder newProjectLocationAgentBuilder()
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)
@Deprecated public static AgentName ofProjectAgentName(String project)
#ofProjectName() instead@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)
@Deprecated public static AgentName ofProjectLocationAgentName(String project, String location)
#ofProjectLocationName() instead@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectAgentName(String project)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationAgentName(String project, String location)
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 © 2023 Google LLC. All rights reserved.