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)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Parameters Name Description folder
String
channelDescriptor
String
public static String formatOrganizationChannelDescriptorName(String organization, String channelDescriptor)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Parameters Name Description organization
String
channelDescriptor
String
public static String formatProjectChannelDescriptorName(String project, String channelDescriptor)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
newOrganizationChannelDescriptorBuilder()
public static NotificationChannelDescriptorName.OrganizationChannelDescriptorBuilder newOrganizationChannelDescriptorBuilder()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
newProjectChannelDescriptorBuilder()
public static NotificationChannelDescriptorName.Builder newProjectChannelDescriptorBuilder()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Parameters Name Description folder
String
channelDescriptor
String
ofOrganizationChannelDescriptorName(String organization, String channelDescriptor)
public static NotificationChannelDescriptorName ofOrganizationChannelDescriptorName(String organization, String channelDescriptor)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Parameters Name Description organization
String
channelDescriptor
String
ofProjectChannelDescriptorName(String project, String channelDescriptor)
public static NotificationChannelDescriptorName ofProjectChannelDescriptorName(String project, String channelDescriptor)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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() (deprecated)
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