@Generated(value="by gapic-generator-java") public class CompanyName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
CompanyName.Builder
Builder for projects/{project}/tenants/{tenant}/companies/{company}.
|
static class |
CompanyName.ProjectCompanyBuilder
Builder for projects/{project}/companies/{company}.
|
Modifier | Constructor and Description |
---|---|
protected |
CompanyName()
Deprecated.
|
@Deprecated protected CompanyName()
public String getProject()
public String getTenant()
public String getCompany()
public static CompanyName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static CompanyName.Builder newProjectTenantCompanyBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static CompanyName.ProjectCompanyBuilder newProjectCompanyBuilder()
public CompanyName.Builder toBuilder()
public static CompanyName of(String project, String tenant, String company)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static CompanyName ofProjectTenantCompanyName(String project, String tenant, String company)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static CompanyName ofProjectCompanyName(String project, String company)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectTenantCompanyName(String project, String tenant, String company)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectCompanyName(String project, String company)
public static CompanyName parse(String formattedString)
public static List<CompanyName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<CompanyName> 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.