@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.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 ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface ResourceName
Copyright © 2022 Google LLC. All rights reserved.