Class LinkName

java.lang.Object
com.google.logging.v2.LinkName
All Implemented Interfaces:
com.google.api.resourcenames.ResourceName

@Generated("by gapic-generator-java") public class LinkName extends Object implements com.google.api.resourcenames.ResourceName
  • Constructor Details

    • LinkName

      @Deprecated protected LinkName()
      Deprecated.
  • Method Details

    • getProject

      public String getProject()
    • getLocation

      public String getLocation()
    • getBucket

      public String getBucket()
    • getLink

      public String getLink()
    • getOrganization

      public String getOrganization()
    • getFolder

      public String getFolder()
    • getBillingAccount

      public String getBillingAccount()
    • newBuilder

      public static LinkName.Builder newBuilder()
    • newProjectLocationBucketLinkBuilder

      @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LinkName.Builder newProjectLocationBucketLinkBuilder()
    • newOrganizationLocationBucketLinkBuilder

      @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LinkName.OrganizationLocationBucketLinkBuilder newOrganizationLocationBucketLinkBuilder()
    • newFolderLocationBucketLinkBuilder

      @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LinkName.FolderLocationBucketLinkBuilder newFolderLocationBucketLinkBuilder()
    • newBillingAccountLocationBucketLinkBuilder

      @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LinkName.BillingAccountLocationBucketLinkBuilder newBillingAccountLocationBucketLinkBuilder()
    • toBuilder

      public LinkName.Builder toBuilder()
    • of

      public static LinkName of(String project, String location, String bucket, String link)
    • ofProjectLocationBucketLinkName

      @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LinkName ofProjectLocationBucketLinkName(String project, String location, String bucket, String link)
    • ofOrganizationLocationBucketLinkName

      @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LinkName ofOrganizationLocationBucketLinkName(String organization, String location, String bucket, String link)
    • ofFolderLocationBucketLinkName

      @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LinkName ofFolderLocationBucketLinkName(String folder, String location, String bucket, String link)
    • ofBillingAccountLocationBucketLinkName

      @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LinkName ofBillingAccountLocationBucketLinkName(String billingAccount, String location, String bucket, String link)
    • format

      public static String format(String project, String location, String bucket, String link)
    • formatProjectLocationBucketLinkName

      @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationBucketLinkName(String project, String location, String bucket, String link)
    • formatOrganizationLocationBucketLinkName

      @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationLocationBucketLinkName(String organization, String location, String bucket, String link)
    • formatFolderLocationBucketLinkName

      @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderLocationBucketLinkName(String folder, String location, String bucket, String link)
    • formatBillingAccountLocationBucketLinkName

      @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountLocationBucketLinkName(String billingAccount, String location, String bucket, String link)
    • parse

      public static LinkName parse(String formattedString)
    • parseList

      public static List<LinkName> parseList(List<String> formattedStrings)
    • toStringList

      public static List<String> toStringList(List<LinkName> values)
    • isParsableFrom

      public static boolean isParsableFrom(String formattedString)
    • getFieldValuesMap

      public Map<String,String> getFieldValuesMap()
      Specified by:
      getFieldValuesMap in interface com.google.api.resourcenames.ResourceName
    • getFieldValue

      public String getFieldValue(String fieldName)
      Specified by:
      getFieldValue in interface com.google.api.resourcenames.ResourceName
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object