Package com.google.pubsub.v1
Class TopicName
java.lang.Object
com.google.pubsub.v1.TopicName
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
- Direct Known Subclasses:
DeletedTopic,ProjectTopicName,UntypedTopicName
@Generated("by gapic-generator-java")
public class TopicName
extends Object
implements com.google.api.resourcenames.ResourceName
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for projects/{project}/topics/{topic}. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Stringstatic Stringstatic StringformatProjectTopicName(String project, String topic) getFieldValue(String fieldName) getTopic()inthashCode()static booleanisParsableFrom(String formattedString) static TopicName.Builderstatic TopicName.Builderstatic TopicNamestatic TopicNamestatic TopicNameofProjectTopicName(String project, String topic) static TopicNametoString()toStringList(List<TopicName> values)
-
Constructor Details
-
TopicName
Deprecated.
-
-
Method Details
-
getProject
-
getTopic
-
newBuilder
-
newProjectTopicBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static TopicName.Builder newProjectTopicBuilder() -
toBuilder
-
of
-
ofProjectTopicName
-
ofDeletedTopicName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static TopicName ofDeletedTopicName() -
format
-
formatProjectTopicName
-
formatDeletedTopicName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatDeletedTopicName() -
parse
-
parseList
-
toStringList
-
isParsableFrom
-
getFieldValuesMap
- Specified by:
getFieldValuesMapin interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
- Specified by:
getFieldValuein interfacecom.google.api.resourcenames.ResourceName
-
toString
-
equals
-
hashCode
public int hashCode()
-