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
-
toBuilder
-
of
-
ofProjectTopicName
-
ofDeletedTopicName
-
format
-
formatProjectTopicName
-
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()
-