Class MessageName

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

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

      • MessageName

        @Deprecated
        protected MessageName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getConversation

        public String getConversation()
      • getMessage

        public String getMessage()
      • getLocation

        public String getLocation()
      • newProjectConversationMessageBuilder

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

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static MessageName ofProjectConversationMessageName​(String project,
                                                                   String conversation,
                                                                   String message)
      • ofProjectLocationConversationMessageName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static MessageName ofProjectLocationConversationMessageName​(String project,
                                                                           String location,
                                                                           String conversation,
                                                                           String message)
      • formatProjectConversationMessageName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatProjectConversationMessageName​(String project,
                                                                  String conversation,
                                                                  String message)
      • formatProjectLocationConversationMessageName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatProjectLocationConversationMessageName​(String project,
                                                                          String location,
                                                                          String conversation,
                                                                          String message)
      • 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