public class NotificationChannelDescriptorName implements ResourceName
Inheritance
Object >
NotificationChannelDescriptorName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String project, String channelDescriptor)
Parameters |
---|
Name | Description |
project | String
|
channelDescriptor | String
|
public static String formatFolderChannelDescriptorName(String folder, String channelDescriptor)
Parameters |
---|
Name | Description |
folder | String
|
channelDescriptor | String
|
public static String formatOrganizationChannelDescriptorName(String organization, String channelDescriptor)
Parameters |
---|
Name | Description |
organization | String
|
channelDescriptor | String
|
public static String formatProjectChannelDescriptorName(String project, String channelDescriptor)
Parameters |
---|
Name | Description |
project | String
|
channelDescriptor | String
|
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter |
---|
Name | Description |
formattedString | String
|
newBuilder()
public static NotificationChannelDescriptorName.Builder newBuilder()
newFolderChannelDescriptorBuilder()
public static NotificationChannelDescriptorName.FolderChannelDescriptorBuilder newFolderChannelDescriptorBuilder()
newOrganizationChannelDescriptorBuilder()
public static NotificationChannelDescriptorName.OrganizationChannelDescriptorBuilder newOrganizationChannelDescriptorBuilder()
newProjectChannelDescriptorBuilder()
public static NotificationChannelDescriptorName.Builder newProjectChannelDescriptorBuilder()
of(String project, String channelDescriptor)
public static NotificationChannelDescriptorName of(String project, String channelDescriptor)
Parameters |
---|
Name | Description |
project | String
|
channelDescriptor | String
|
ofFolderChannelDescriptorName(String folder, String channelDescriptor)
public static NotificationChannelDescriptorName ofFolderChannelDescriptorName(String folder, String channelDescriptor)
Parameters |
---|
Name | Description |
folder | String
|
channelDescriptor | String
|
ofOrganizationChannelDescriptorName(String organization, String channelDescriptor)
public static NotificationChannelDescriptorName ofOrganizationChannelDescriptorName(String organization, String channelDescriptor)
Parameters |
---|
Name | Description |
organization | String
|
channelDescriptor | String
|
ofProjectChannelDescriptorName(String project, String channelDescriptor)
public static NotificationChannelDescriptorName ofProjectChannelDescriptorName(String project, String channelDescriptor)
Parameters |
---|
Name | Description |
project | String
|
channelDescriptor | String
|
parse(String formattedString)
public static NotificationChannelDescriptorName parse(String formattedString)
Parameter |
---|
Name | Description |
formattedString | String
|
parseList(List<String> formattedStrings)
public static List<NotificationChannelDescriptorName> parseList(List<String> formattedStrings)
Parameter |
---|
Name | Description |
formattedStrings | List<String>
|
toStringList(List<NotificationChannelDescriptorName> values)
public static List<String> toStringList(List<NotificationChannelDescriptorName> values)
Constructors
NotificationChannelDescriptorName()
protected NotificationChannelDescriptorName()
Methods
equals(Object o)
public boolean equals(Object o)
Parameter |
---|
Name | Description |
o | Object
|
Overrides
getChannelDescriptor()
public String getChannelDescriptor()
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter |
---|
Name | Description |
fieldName | String
|
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
getFolder()
public String getFolder()
getOrganization()
public String getOrganization()
getProject()
public String getProject()
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
toBuilder()
public NotificationChannelDescriptorName.Builder toBuilder()
toString()
Overrides