@Generated(value="by gapic-generator-java") public class FeedName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
FeedName.Builder
Builder for projects/{project}/feeds/{feed}.
|
static class |
FeedName.FolderFeedBuilder
Builder for folders/{folder}/feeds/{feed}.
|
static class |
FeedName.OrganizationFeedBuilder
Builder for organizations/{organization}/feeds/{feed}.
|
Modifier | Constructor and Description |
---|---|
protected |
FeedName()
Deprecated.
|
@Deprecated protected FeedName()
public String getProject()
public String getFeed()
public String getFolder()
public String getOrganization()
public static FeedName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static FeedName.Builder newProjectFeedBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static FeedName.FolderFeedBuilder newFolderFeedBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static FeedName.OrganizationFeedBuilder newOrganizationFeedBuilder()
public FeedName.Builder toBuilder()
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static FeedName ofProjectFeedName(String project, String feed)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static FeedName ofFolderFeedName(String folder, String feed)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static FeedName ofOrganizationFeedName(String organization, String feed)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectFeedName(String project, String feed)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatFolderFeedName(String folder, String feed)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationFeedName(String organization, String feed)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2022 Google LLC. All rights reserved.