Class NotificationChannelDescriptorName (3.4.6)

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
NameDescription
projectString
channelDescriptorString
Returns
TypeDescription
String

formatFolderChannelDescriptorName(String folder, String channelDescriptor)

public static String formatFolderChannelDescriptorName(String folder, String channelDescriptor)
Parameters
NameDescription
folderString
channelDescriptorString
Returns
TypeDescription
String

formatOrganizationChannelDescriptorName(String organization, String channelDescriptor)

public static String formatOrganizationChannelDescriptorName(String organization, String channelDescriptor)
Parameters
NameDescription
organizationString
channelDescriptorString
Returns
TypeDescription
String

formatProjectChannelDescriptorName(String project, String channelDescriptor)

public static String formatProjectChannelDescriptorName(String project, String channelDescriptor)
Parameters
NameDescription
projectString
channelDescriptorString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static NotificationChannelDescriptorName.Builder newBuilder()
Returns
TypeDescription
NotificationChannelDescriptorName.Builder

newFolderChannelDescriptorBuilder()

public static NotificationChannelDescriptorName.FolderChannelDescriptorBuilder newFolderChannelDescriptorBuilder()
Returns
TypeDescription
NotificationChannelDescriptorName.FolderChannelDescriptorBuilder

newOrganizationChannelDescriptorBuilder()

public static NotificationChannelDescriptorName.OrganizationChannelDescriptorBuilder newOrganizationChannelDescriptorBuilder()
Returns
TypeDescription
NotificationChannelDescriptorName.OrganizationChannelDescriptorBuilder

newProjectChannelDescriptorBuilder()

public static NotificationChannelDescriptorName.Builder newProjectChannelDescriptorBuilder()
Returns
TypeDescription
NotificationChannelDescriptorName.Builder

of(String project, String channelDescriptor)

public static NotificationChannelDescriptorName of(String project, String channelDescriptor)
Parameters
NameDescription
projectString
channelDescriptorString
Returns
TypeDescription
NotificationChannelDescriptorName

ofFolderChannelDescriptorName(String folder, String channelDescriptor)

public static NotificationChannelDescriptorName ofFolderChannelDescriptorName(String folder, String channelDescriptor)
Parameters
NameDescription
folderString
channelDescriptorString
Returns
TypeDescription
NotificationChannelDescriptorName

ofOrganizationChannelDescriptorName(String organization, String channelDescriptor)

public static NotificationChannelDescriptorName ofOrganizationChannelDescriptorName(String organization, String channelDescriptor)
Parameters
NameDescription
organizationString
channelDescriptorString
Returns
TypeDescription
NotificationChannelDescriptorName

ofProjectChannelDescriptorName(String project, String channelDescriptor)

public static NotificationChannelDescriptorName ofProjectChannelDescriptorName(String project, String channelDescriptor)
Parameters
NameDescription
projectString
channelDescriptorString
Returns
TypeDescription
NotificationChannelDescriptorName

parse(String formattedString)

public static NotificationChannelDescriptorName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
NotificationChannelDescriptorName

parseList(List<String> formattedStrings)

public static List<NotificationChannelDescriptorName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<NotificationChannelDescriptorName>

toStringList(List<NotificationChannelDescriptorName> values)

public static List<String> toStringList(List<NotificationChannelDescriptorName> values)
Parameter
NameDescription
valuesList<NotificationChannelDescriptorName>
Returns
TypeDescription
List<String>

Constructors

NotificationChannelDescriptorName()

protected NotificationChannelDescriptorName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getChannelDescriptor()

public String getChannelDescriptor()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getFolder()

public String getFolder()
Returns
TypeDescription
String

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public NotificationChannelDescriptorName.Builder toBuilder()
Returns
TypeDescription
NotificationChannelDescriptorName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides