Class TopicName

    • Constructor Detail

      • TopicName

        @Deprecated
        protected TopicName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getTopic

        public String getTopic()
      • newProjectTopicBuilder

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

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static TopicName ofProjectTopicName​(String project,
                                                   String topic)
      • ofDeletedTopicName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static TopicName ofDeletedTopicName()
      • formatProjectTopicName

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

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