Package com.google.pubsub.v1
Class ProjectTopicName
- java.lang.Object
-
- com.google.pubsub.v1.TopicName
-
- com.google.pubsub.v1.ProjectTopicName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by GAPIC protoc plugin") public class ProjectTopicName extends TopicName
AUTO-GENERATED DOCUMENTATION AND CLASS
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectTopicName.Builder
Builder for ProjectTopicName.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static String
format(String project, String topic)
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getProject()
String
getTopic()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static ProjectTopicName.Builder
newBuilder()
static ProjectTopicName
of(String project, String topic)
static ProjectTopicName
parse(String formattedString)
ProjectTopicName.Builder
toBuilder()
String
toString()
-
Methods inherited from class com.google.pubsub.v1.TopicName
formatDeletedTopicName, formatProjectTopicName, newProjectTopicBuilder, ofDeletedTopicName, ofProjectTopicName, parseList, toStringList
-
-
-
-
Method Detail
-
getProject
public String getProject()
- Overrides:
getProject
in classTopicName
-
newBuilder
public static ProjectTopicName.Builder newBuilder()
-
toBuilder
public ProjectTopicName.Builder toBuilder()
-
of
public static ProjectTopicName of(String project, String topic)
-
parse
public static ProjectTopicName parse(String formattedString)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
- Overrides:
getFieldValuesMap
in classTopicName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
- Overrides:
getFieldValue
in classTopicName
-
-