@Generated(value="by GAPIC protoc plugin") public class ProjectTopicName extends TopicName
Modifier and Type | Class and Description |
---|---|
static class |
ProjectTopicName.Builder
Builder for ProjectTopicName.
|
Modifier and Type | Method and 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() |
formatDeletedTopicName, formatProjectTopicName, newProjectTopicBuilder, ofDeletedTopicName, ofProjectTopicName, parseList, toStringList
public String getProject()
getProject
in class TopicName
public static ProjectTopicName.Builder newBuilder()
public ProjectTopicName.Builder toBuilder()
public static ProjectTopicName of(String project, String topic)
public static ProjectTopicName parse(String formattedString)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
getFieldValuesMap
in class TopicName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
getFieldValue
in class TopicName
Copyright © 2023 Google LLC. All rights reserved.