Class EndpointName
- java.lang.Object
-
- com.google.cloud.servicedirectory.v1.EndpointName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class EndpointName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EndpointName.Builder
Builder for projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}/endpoints/{endpoint}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
EndpointName()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static String
format(String project, String location, String namespace, String service, String endpoint)
String
getEndpoint()
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getLocation()
String
getNamespace()
String
getProject()
String
getService()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static EndpointName.Builder
newBuilder()
static EndpointName
of(String project, String location, String namespace, String service, String endpoint)
static EndpointName
parse(String formattedString)
static List<EndpointName>
parseList(List<String> formattedStrings)
EndpointName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<EndpointName> values)
-
-
-
Constructor Detail
-
EndpointName
@Deprecated protected EndpointName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getNamespace
public String getNamespace()
-
getService
public String getService()
-
getEndpoint
public String getEndpoint()
-
newBuilder
public static EndpointName.Builder newBuilder()
-
toBuilder
public EndpointName.Builder toBuilder()
-
of
public static EndpointName of(String project, String location, String namespace, String service, String endpoint)
-
format
public static String format(String project, String location, String namespace, String service, String endpoint)
-
parse
public static EndpointName parse(String formattedString)
-
parseList
public static List<EndpointName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<EndpointName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-