Package com.google.logging.v2
Class OrganizationLocationName
- java.lang.Object
-
- com.google.logging.v2.OrganizationLocationName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class OrganizationLocationName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OrganizationLocationName.Builder
Builder for organizations/{organization}/locations/{location}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
OrganizationLocationName()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static String
format(String organization, String location)
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getLocation()
String
getOrganization()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static OrganizationLocationName.Builder
newBuilder()
static OrganizationLocationName
of(String organization, String location)
static OrganizationLocationName
parse(String formattedString)
static List<OrganizationLocationName>
parseList(List<String> formattedStrings)
OrganizationLocationName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<OrganizationLocationName> values)
-
-
-
Constructor Detail
-
OrganizationLocationName
@Deprecated protected OrganizationLocationName()
Deprecated.
-
-
Method Detail
-
getOrganization
public String getOrganization()
-
getLocation
public String getLocation()
-
newBuilder
public static OrganizationLocationName.Builder newBuilder()
-
toBuilder
public OrganizationLocationName.Builder toBuilder()
-
of
public static OrganizationLocationName of(String organization, String location)
-
parse
public static OrganizationLocationName parse(String formattedString)
-
parseList
public static List<OrganizationLocationName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<OrganizationLocationName> 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
-
-