@Generated(value="by gapic-generator-java") public class WebhookName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
WebhookName.Builder
Builder for projects/{project}/locations/{location}/agents/{agent}/webhooks/{webhook}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
WebhookName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String agent,
String webhook) |
String |
getAgent() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getProject() |
String |
getWebhook() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static WebhookName.Builder |
newBuilder() |
static WebhookName |
of(String project,
String location,
String agent,
String webhook) |
static WebhookName |
parse(String formattedString) |
static List<WebhookName> |
parseList(List<String> formattedStrings) |
WebhookName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<WebhookName> values) |
@Deprecated protected WebhookName()
public String getProject()
public String getLocation()
public String getAgent()
public String getWebhook()
public static WebhookName.Builder newBuilder()
public WebhookName.Builder toBuilder()
public static WebhookName of(String project, String location, String agent, String webhook)
public static WebhookName parse(String formattedString)
public static List<WebhookName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<WebhookName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2022 Google LLC. All rights reserved.