@Generated(value="by GAPIC protoc plugin") public class OccurrenceName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
OccurrenceName.Builder
Builder for OccurrenceName.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String occurrence) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getOccurrence() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static OccurrenceName.Builder |
newBuilder() |
static OccurrenceName |
of(String project,
String occurrence) |
static OccurrenceName |
parse(String formattedString) |
static List<OccurrenceName> |
parseList(List<String> formattedStrings) |
OccurrenceName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<OccurrenceName> values) |
public String getProject()
public String getOccurrence()
public static OccurrenceName.Builder newBuilder()
public OccurrenceName.Builder toBuilder()
public static OccurrenceName of(String project, String occurrence)
public static OccurrenceName parse(String formattedString)
public static List<OccurrenceName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<OccurrenceName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2019 Google LLC. All rights reserved.