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