@Generated(value="by gapic-generator-java") public class TimeSeriesName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
TimeSeriesName.Builder
Builder for projects/{project}/timeSeries/{time_series}.
|
static class |
TimeSeriesName.FolderTimeSeriesBuilder
Builder for folders/{folder}/timeSeries/{time_series}.
|
static class |
TimeSeriesName.OrganizationTimeSeriesBuilder
Builder for organizations/{organization}/timeSeries/{time_series}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
TimeSeriesName()
Deprecated.
|
@Deprecated protected TimeSeriesName()
public String getProject()
public String getTimeSeries()
public String getOrganization()
public String getFolder()
public static TimeSeriesName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static TimeSeriesName.Builder newProjectTimeSeriesBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static TimeSeriesName.OrganizationTimeSeriesBuilder newOrganizationTimeSeriesBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static TimeSeriesName.FolderTimeSeriesBuilder newFolderTimeSeriesBuilder()
public TimeSeriesName.Builder toBuilder()
public static TimeSeriesName of(String project, String timeSeries)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static TimeSeriesName ofProjectTimeSeriesName(String project, String timeSeries)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static TimeSeriesName ofOrganizationTimeSeriesName(String organization, String timeSeries)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static TimeSeriesName ofFolderTimeSeriesName(String folder, String timeSeries)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectTimeSeriesName(String project, String timeSeries)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationTimeSeriesName(String organization, String timeSeries)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatFolderTimeSeriesName(String folder, String timeSeries)
public static TimeSeriesName parse(String formattedString)
public static List<TimeSeriesName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<TimeSeriesName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2023 Google LLC. All rights reserved.