Class CommentName (0.57.0)

public class CommentName implements ResourceName

Inheritance

Object > CommentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String organization, String case_, String comment)

public static String format(String organization, String case_, String comment)
Parameters
Name Description
organization String
case_ String
comment String
Returns
Type Description
String

formatOrganizationCaseCommentName(String organization, String case_, String comment)

public static String formatOrganizationCaseCommentName(String organization, String case_, String comment)
Parameters
Name Description
organization String
case_ String
comment String
Returns
Type Description
String

formatProjectCaseCommentName(String project, String case_, String comment)

public static String formatProjectCaseCommentName(String project, String case_, String comment)
Parameters
Name Description
project String
case_ String
comment 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 CommentName.Builder newBuilder()
Returns
Type Description
CommentName.Builder

newOrganizationCaseCommentBuilder()

public static CommentName.Builder newOrganizationCaseCommentBuilder()
Returns
Type Description
CommentName.Builder

newProjectCaseCommentBuilder()

public static CommentName.ProjectCaseCommentBuilder newProjectCaseCommentBuilder()
Returns
Type Description
CommentName.ProjectCaseCommentBuilder

of(String organization, String case_, String comment)

public static CommentName of(String organization, String case_, String comment)
Parameters
Name Description
organization String
case_ String
comment String
Returns
Type Description
CommentName

ofOrganizationCaseCommentName(String organization, String case_, String comment)

public static CommentName ofOrganizationCaseCommentName(String organization, String case_, String comment)
Parameters
Name Description
organization String
case_ String
comment String
Returns
Type Description
CommentName

ofProjectCaseCommentName(String project, String case_, String comment)

public static CommentName ofProjectCaseCommentName(String project, String case_, String comment)
Parameters
Name Description
project String
case_ String
comment String
Returns
Type Description
CommentName

parse(String formattedString)

public static CommentName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
CommentName

parseList(List<String> formattedStrings)

public static List<CommentName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<CommentName>

toStringList(List<CommentName> values)

public static List<String> toStringList(List<CommentName> values)
Parameter
Name Description
values List<CommentName>
Returns
Type Description
List<String>

Constructors

CommentName() (deprecated)

protected CommentName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getCase()

public String getCase()
Returns
Type Description
String

getComment()

public String getComment()
Returns
Type Description
String

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>

getOrganization()

public String getOrganization()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public CommentName.Builder toBuilder()
Returns
Type Description
CommentName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides