Class NotificationChannelDescriptorName (3.43.0)

public class NotificationChannelDescriptorName implements ResourceName

Inheritance

Object > NotificationChannelDescriptorName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String channelDescriptor)

public static String format(String project, String channelDescriptor)
Parameters
Name Description
project String
channelDescriptor String
Returns
Type Description
String

formatFolderChannelDescriptorName(String folder, String channelDescriptor)

public static String formatFolderChannelDescriptorName(String folder, String channelDescriptor)
Parameters
Name Description
folder String
channelDescriptor String
Returns
Type Description
String

formatOrganizationChannelDescriptorName(String organization, String channelDescriptor)

public static String formatOrganizationChannelDescriptorName(String organization, String channelDescriptor)
Parameters
Name Description
organization String
channelDescriptor String
Returns
Type Description
String

formatProjectChannelDescriptorName(String project, String channelDescriptor)

public static String formatProjectChannelDescriptorName(String project, String channelDescriptor)
Parameters
Name Description
project String
channelDescriptor String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static NotificationChannelDescriptorName.Builder newBuilder()
Returns
Type Description
NotificationChannelDescriptorName.Builder

newFolderChannelDescriptorBuilder()

public static NotificationChannelDescriptorName.FolderChannelDescriptorBuilder newFolderChannelDescriptorBuilder()
Returns
Type Description
NotificationChannelDescriptorName.FolderChannelDescriptorBuilder

newOrganizationChannelDescriptorBuilder()

public static NotificationChannelDescriptorName.OrganizationChannelDescriptorBuilder newOrganizationChannelDescriptorBuilder()
Returns
Type Description
NotificationChannelDescriptorName.OrganizationChannelDescriptorBuilder

newProjectChannelDescriptorBuilder()

public static NotificationChannelDescriptorName.Builder newProjectChannelDescriptorBuilder()
Returns
Type Description
NotificationChannelDescriptorName.Builder

of(String project, String channelDescriptor)

public static NotificationChannelDescriptorName of(String project, String channelDescriptor)
Parameters
Name Description
project String
channelDescriptor String
Returns
Type Description
NotificationChannelDescriptorName

ofFolderChannelDescriptorName(String folder, String channelDescriptor)

public static NotificationChannelDescriptorName ofFolderChannelDescriptorName(String folder, String channelDescriptor)
Parameters
Name Description
folder String
channelDescriptor String
Returns
Type Description
NotificationChannelDescriptorName

ofOrganizationChannelDescriptorName(String organization, String channelDescriptor)

public static NotificationChannelDescriptorName ofOrganizationChannelDescriptorName(String organization, String channelDescriptor)
Parameters
Name Description
organization String
channelDescriptor String
Returns
Type Description
NotificationChannelDescriptorName

ofProjectChannelDescriptorName(String project, String channelDescriptor)

public static NotificationChannelDescriptorName ofProjectChannelDescriptorName(String project, String channelDescriptor)
Parameters
Name Description
project String
channelDescriptor String
Returns
Type Description
NotificationChannelDescriptorName

parse(String formattedString)

public static NotificationChannelDescriptorName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
NotificationChannelDescriptorName

parseList(List<String> formattedStrings)

public static List<NotificationChannelDescriptorName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<NotificationChannelDescriptorName>

toStringList(List<NotificationChannelDescriptorName> values)

public static List<String> toStringList(List<NotificationChannelDescriptorName> values)
Parameter
Name Description
values List<NotificationChannelDescriptorName>
Returns
Type Description
List<String>

Constructors

NotificationChannelDescriptorName() (deprecated)

protected NotificationChannelDescriptorName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getChannelDescriptor()

public String getChannelDescriptor()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getFolder()

public String getFolder()
Returns
Type Description
String

getOrganization()

public String getOrganization()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public NotificationChannelDescriptorName.Builder toBuilder()
Returns
Type Description
NotificationChannelDescriptorName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides