@Generated(value="by gapic-generator-java") public class EndpointName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
EndpointName.Builder
Builder for projects/{project}/locations/{location}/endpoints/{endpoint}.
|
static class |
EndpointName.ProjectLocationPublisherModelBuilder
Builder for projects/{project}/locations/{location}/publishers/{publisher}/models/{model}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
EndpointName()
Deprecated.
|
@Deprecated protected EndpointName()
public String getProject()
public String getLocation()
public String getEndpoint()
public String getPublisher()
public String getModel()
public static EndpointName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static EndpointName.Builder newProjectLocationEndpointBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static EndpointName.ProjectLocationPublisherModelBuilder newProjectLocationPublisherModelBuilder()
public EndpointName.Builder toBuilder()
public static EndpointName of(String project, String location, String endpoint)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static EndpointName ofProjectLocationEndpointName(String project, String location, String endpoint)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static EndpointName ofProjectLocationPublisherModelName(String project, String location, String publisher, String model)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationEndpointName(String project, String location, String endpoint)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationPublisherModelName(String project, String location, String publisher, String model)
public static EndpointName parse(String formattedString)
public static List<EndpointName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<EndpointName> 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 © 2023 Google LLC. All rights reserved.