Class ApprovalRequestName (2.4.10)

public class ApprovalRequestName implements ResourceName

Inheritance

Object > ApprovalRequestName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String approvalRequest)

public static String format(String project, String approvalRequest)
Parameters
NameDescription
projectString
approvalRequestString
Returns
TypeDescription
String

formatFolderApprovalRequestName(String folder, String approvalRequest)

public static String formatFolderApprovalRequestName(String folder, String approvalRequest)
Parameters
NameDescription
folderString
approvalRequestString
Returns
TypeDescription
String

formatOrganizationApprovalRequestName(String organization, String approvalRequest)

public static String formatOrganizationApprovalRequestName(String organization, String approvalRequest)
Parameters
NameDescription
organizationString
approvalRequestString
Returns
TypeDescription
String

formatProjectApprovalRequestName(String project, String approvalRequest)

public static String formatProjectApprovalRequestName(String project, String approvalRequest)
Parameters
NameDescription
projectString
approvalRequestString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newFolderApprovalRequestBuilder()

public static ApprovalRequestName.FolderApprovalRequestBuilder newFolderApprovalRequestBuilder()
Returns
TypeDescription
ApprovalRequestName.FolderApprovalRequestBuilder

newOrganizationApprovalRequestBuilder()

public static ApprovalRequestName.OrganizationApprovalRequestBuilder newOrganizationApprovalRequestBuilder()
Returns
TypeDescription
ApprovalRequestName.OrganizationApprovalRequestBuilder

newProjectApprovalRequestBuilder()

public static ApprovalRequestName.Builder newProjectApprovalRequestBuilder()
Returns
TypeDescription
ApprovalRequestName.Builder

of(String project, String approvalRequest)

public static ApprovalRequestName of(String project, String approvalRequest)
Parameters
NameDescription
projectString
approvalRequestString
Returns
TypeDescription
ApprovalRequestName

ofFolderApprovalRequestName(String folder, String approvalRequest)

public static ApprovalRequestName ofFolderApprovalRequestName(String folder, String approvalRequest)
Parameters
NameDescription
folderString
approvalRequestString
Returns
TypeDescription
ApprovalRequestName

ofOrganizationApprovalRequestName(String organization, String approvalRequest)

public static ApprovalRequestName ofOrganizationApprovalRequestName(String organization, String approvalRequest)
Parameters
NameDescription
organizationString
approvalRequestString
Returns
TypeDescription
ApprovalRequestName

ofProjectApprovalRequestName(String project, String approvalRequest)

public static ApprovalRequestName ofProjectApprovalRequestName(String project, String approvalRequest)
Parameters
NameDescription
projectString
approvalRequestString
Returns
TypeDescription
ApprovalRequestName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ApprovalRequestName> values)

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

Constructors

ApprovalRequestName()

protected ApprovalRequestName()

Methods

equals(Object o)

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

getApprovalRequest()

public String getApprovalRequest()
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 ApprovalRequestName.Builder toBuilder()
Returns
TypeDescription
ApprovalRequestName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides