public class ProjectTopicName extends TopicName
AUTO-GENERATED DOCUMENTATION AND CLASS
Static Methods
format(String project, String topic)
public static String format(String project, String topic)
Parameters | |
---|---|
Name | Description |
project | String |
topic | String |
Returns | |
---|---|
Type | Description |
String |
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter | |
---|---|
Name | Description |
formattedString | String |
Returns | |
---|---|
Type | Description |
boolean |
newBuilder()
public static ProjectTopicName.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ProjectTopicName.Builder |
of(String project, String topic)
public static ProjectTopicName of(String project, String topic)
Parameters | |
---|---|
Name | Description |
project | String |
topic | String |
Returns | |
---|---|
Type | Description |
ProjectTopicName |
parse(String formattedString)
public static ProjectTopicName parse(String formattedString)
Parameter | |
---|---|
Name | Description |
formattedString | String |
Returns | |
---|---|
Type | Description |
ProjectTopicName |
Methods
equals(Object o)
public boolean equals(Object o)
Parameter | |
---|---|
Name | Description |
o | Object |
Returns | |
---|---|
Type | Description |
boolean |
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter | |
---|---|
Name | Description |
fieldName | String |
Returns | |
---|---|
Type | Description |
String |
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
Returns | |
---|---|
Type | Description |
Map<String,String> |
getProject()
public String getProject()
Returns | |
---|---|
Type | Description |
String |
getTopic()
public String getTopic()
Returns | |
---|---|
Type | Description |
String |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
toBuilder()
public ProjectTopicName.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ProjectTopicName.Builder |
toString()
public String toString()
Returns | |
---|---|
Type | Description |
String |