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