Class LogName (3.20.3)

public class LogName implements ResourceName

Inheritance

Object > LogName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String log)

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

formatBillingAccountLogName(String billingAccount, String log)

public static String formatBillingAccountLogName(String billingAccount, String log)
Parameters
Name Description
billingAccount String
log String
Returns
Type Description
String

formatFolderLogName(String folder, String log)

public static String formatFolderLogName(String folder, String log)
Parameters
Name Description
folder String
log String
Returns
Type Description
String

formatOrganizationLogName(String organization, String log)

public static String formatOrganizationLogName(String organization, String log)
Parameters
Name Description
organization String
log String
Returns
Type Description
String

formatProjectLogName(String project, String log)

public static String formatProjectLogName(String project, String log)
Parameters
Name Description
project String
log String
Returns
Type Description
String

isParsableFrom(String formattedString)

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

newBillingAccountLogBuilder()

public static LogName.BillingAccountLogBuilder newBillingAccountLogBuilder()
Returns
Type Description
LogName.BillingAccountLogBuilder

newBuilder()

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

newFolderLogBuilder()

public static LogName.FolderLogBuilder newFolderLogBuilder()
Returns
Type Description
LogName.FolderLogBuilder

newOrganizationLogBuilder()

public static LogName.OrganizationLogBuilder newOrganizationLogBuilder()
Returns
Type Description
LogName.OrganizationLogBuilder

newProjectLogBuilder()

public static LogName.Builder newProjectLogBuilder()
Returns
Type Description
LogName.Builder

of(String project, String log)

public static LogName of(String project, String log)
Parameters
Name Description
project String
log String
Returns
Type Description
LogName

ofBillingAccountLogName(String billingAccount, String log)

public static LogName ofBillingAccountLogName(String billingAccount, String log)
Parameters
Name Description
billingAccount String
log String
Returns
Type Description
LogName

ofFolderLogName(String folder, String log)

public static LogName ofFolderLogName(String folder, String log)
Parameters
Name Description
folder String
log String
Returns
Type Description
LogName

ofOrganizationLogName(String organization, String log)

public static LogName ofOrganizationLogName(String organization, String log)
Parameters
Name Description
organization String
log String
Returns
Type Description
LogName

ofProjectLogName(String project, String log)

public static LogName ofProjectLogName(String project, String log)
Parameters
Name Description
project String
log String
Returns
Type Description
LogName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<LogName> values)

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

Constructors

LogName() (deprecated)

protected LogName()

Methods

equals(Object o)

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

getBillingAccount()

public String getBillingAccount()
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

getLog()

public String getLog()
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 LogName.Builder toBuilder()
Returns
Type Description
LogName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides