Class ProjectTopicName (1.117.0)

public class ProjectTopicName extends TopicName

AUTO-GENERATED DOCUMENTATION AND CLASS

Inheritance

Object > TopicName > ProjectTopicName

Static Methods

format(String project, String topic)

public static String format(String project, String topic)
Parameters
NameDescription
projectString
topicString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static ProjectTopicName.Builder newBuilder()
Returns
TypeDescription
ProjectTopicName.Builder

of(String project, String topic)

public static ProjectTopicName of(String project, String topic)
Parameters
NameDescription
projectString
topicString
Returns
TypeDescription
ProjectTopicName

parse(String formattedString)

public static ProjectTopicName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
ProjectTopicName

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String
Overrides

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>
Overrides

getProject()

public String getProject()
Returns
TypeDescription
String
Overrides

getTopic()

public String getTopic()
Returns
TypeDescription
String
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public ProjectTopicName.Builder toBuilder()
Returns
TypeDescription
ProjectTopicName.Builder
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides