@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 organizations/{organization}/sources/{source}.
|
Modifier | Constructor and Description |
---|---|
protected |
SourceName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String organization,
String source) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getOrganization() |
String |
getSource() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static SourceName.Builder |
newBuilder() |
static SourceName |
of(String organization,
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 getOrganization()
public String getSource()
public static SourceName.Builder newBuilder()
public SourceName.Builder toBuilder()
public static SourceName of(String organization, 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.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2022 Google LLC. All rights reserved.