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
Modifier and TypeClassDescriptionstatic class
Builder for projects/{project}/topics/{topic}. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static String
static String
static String
formatProjectTopicName
(String project, String topic) getFieldValue
(String fieldName) getTopic()
int
hashCode()
static boolean
isParsableFrom
(String formattedString) static TopicName.Builder
static TopicName.Builder
static TopicName
static TopicName
static TopicName
ofProjectTopicName
(String project, String topic) static TopicName
toString()
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:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
toString
-
equals
-
hashCode
public int hashCode()
-