Class TimeSeriesName (3.38.0)

public class TimeSeriesName implements ResourceName

Inheritance

Object > TimeSeriesName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String timeSeries)

public static String format(String project, String timeSeries)
Parameters
NameDescription
projectString
timeSeriesString
Returns
TypeDescription
String

formatFolderTimeSeriesName(String folder, String timeSeries)

public static String formatFolderTimeSeriesName(String folder, String timeSeries)
Parameters
NameDescription
folderString
timeSeriesString
Returns
TypeDescription
String

formatOrganizationTimeSeriesName(String organization, String timeSeries)

public static String formatOrganizationTimeSeriesName(String organization, String timeSeries)
Parameters
NameDescription
organizationString
timeSeriesString
Returns
TypeDescription
String

formatProjectTimeSeriesName(String project, String timeSeries)

public static String formatProjectTimeSeriesName(String project, String timeSeries)
Parameters
NameDescription
projectString
timeSeriesString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newFolderTimeSeriesBuilder()

public static TimeSeriesName.FolderTimeSeriesBuilder newFolderTimeSeriesBuilder()
Returns
TypeDescription
TimeSeriesName.FolderTimeSeriesBuilder

newOrganizationTimeSeriesBuilder()

public static TimeSeriesName.OrganizationTimeSeriesBuilder newOrganizationTimeSeriesBuilder()
Returns
TypeDescription
TimeSeriesName.OrganizationTimeSeriesBuilder

newProjectTimeSeriesBuilder()

public static TimeSeriesName.Builder newProjectTimeSeriesBuilder()
Returns
TypeDescription
TimeSeriesName.Builder

of(String project, String timeSeries)

public static TimeSeriesName of(String project, String timeSeries)
Parameters
NameDescription
projectString
timeSeriesString
Returns
TypeDescription
TimeSeriesName

ofFolderTimeSeriesName(String folder, String timeSeries)

public static TimeSeriesName ofFolderTimeSeriesName(String folder, String timeSeries)
Parameters
NameDescription
folderString
timeSeriesString
Returns
TypeDescription
TimeSeriesName

ofOrganizationTimeSeriesName(String organization, String timeSeries)

public static TimeSeriesName ofOrganizationTimeSeriesName(String organization, String timeSeries)
Parameters
NameDescription
organizationString
timeSeriesString
Returns
TypeDescription
TimeSeriesName

ofProjectTimeSeriesName(String project, String timeSeries)

public static TimeSeriesName ofProjectTimeSeriesName(String project, String timeSeries)
Parameters
NameDescription
projectString
timeSeriesString
Returns
TypeDescription
TimeSeriesName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<TimeSeriesName> values)

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

Constructors

TimeSeriesName() (deprecated)

protected TimeSeriesName()

Methods

equals(Object o)

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

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

getTimeSeries()

public String getTimeSeries()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides