Class AgentName

  • All Implemented Interfaces:
    com.google.api.resourcenames.ResourceName

    @Generated("by gapic-generator-java")
    public class AgentName
    extends Object
    implements com.google.api.resourcenames.ResourceName
    • Constructor Detail

      • AgentName

        @Deprecated
        protected AgentName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getLocation

        public String getLocation()
      • newProjectAgentBuilder

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static AgentName.Builder newProjectAgentBuilder()
      • newProjectLocationAgentBuilder

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static AgentName.ProjectLocationAgentBuilder newProjectLocationAgentBuilder()
      • ofProjectName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static AgentName ofProjectName​(String project)
      • ofProjectAgentName

        @Deprecated
        public static AgentName ofProjectAgentName​(String project)
        Deprecated.
        Please use #ofProjectName() instead
      • ofProjectLocationName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static AgentName ofProjectLocationName​(String project,
                                                      String location)
      • ofProjectLocationAgentName

        @Deprecated
        public static AgentName ofProjectLocationAgentName​(String project,
                                                           String location)
        Deprecated.
        Please use #ofProjectLocationName() instead
      • formatProjectAgentName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatProjectAgentName​(String project)
      • formatProjectLocationAgentName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatProjectLocationAgentName​(String project,
                                                            String location)
      • isParsableFrom

        public static boolean isParsableFrom​(String formattedString)
      • getFieldValuesMap

        public Map<String,​String> getFieldValuesMap()
        Specified by:
        getFieldValuesMap in interface com.google.api.resourcenames.ResourceName
      • getFieldValue

        public String getFieldValue​(String fieldName)
        Specified by:
        getFieldValue in interface com.google.api.resourcenames.ResourceName
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object