Class WebhookName (0.13.0)

public class WebhookName implements ResourceName

Inheritance

Object > WebhookName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String agent, String webhook)

public static String format(String project, String location, String agent, String webhook)
Parameters
NameDescription
projectString
locationString
agentString
webhookString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String agent, String webhook)

public static WebhookName of(String project, String location, String agent, String webhook)
Parameters
NameDescription
projectString
locationString
agentString
webhookString
Returns
TypeDescription
WebhookName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

public static List<WebhookName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<WebhookName>

toStringList(List<WebhookName> values)

public static List<String> toStringList(List<WebhookName> values)
Parameter
NameDescription
valuesList<WebhookName>
Returns
TypeDescription
List<String>

Constructors

WebhookName()

protected WebhookName()

Methods

equals(Object o)

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

getAgent()

public String getAgent()
Returns
TypeDescription
String

getFieldValue(String fieldName)

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

getFieldValuesMap()

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

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getWebhook()

public String getWebhook()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public WebhookName.Builder toBuilder()
Returns
TypeDescription
WebhookName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides