@Generated(value="by gapic-generator-java") public class SourceName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
SourceName.Builder
Builder for projects/{project}/locations/{location}/sources/{source}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SourceName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String source) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getProject() |
String |
getSource() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static SourceName.Builder |
newBuilder() |
static SourceName |
of(String project,
String location,
String source) |
static SourceName |
parse(String formattedString) |
static List<SourceName> |
parseList(List<String> formattedStrings) |
SourceName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<SourceName> values) |
@Deprecated protected SourceName()
public String getProject()
public String getLocation()
public String getSource()
public static SourceName.Builder newBuilder()
public SourceName.Builder toBuilder()
public static SourceName of(String project, String location, String source)
public static SourceName parse(String formattedString)
public static List<SourceName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<SourceName> 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 © 2024 Google LLC. All rights reserved.