Class LogBucketName

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

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

    • LogBucketName

      @Deprecated protected LogBucketName()
      Deprecated.
  • Method Details

    • getProject

      public String getProject()
    • getLocation

      public String getLocation()
    • getBucket

      public String getBucket()
    • getOrganization

      public String getOrganization()
    • getFolder

      public String getFolder()
    • getBillingAccount

      public String getBillingAccount()
    • newBuilder

      public static LogBucketName.Builder newBuilder()
    • newProjectLocationBucketBuilder

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

      @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LogBucketName.OrganizationLocationBucketBuilder newOrganizationLocationBucketBuilder()
    • newFolderLocationBucketBuilder

      @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LogBucketName.FolderLocationBucketBuilder newFolderLocationBucketBuilder()
    • newBillingAccountLocationBucketBuilder

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

      public LogBucketName.Builder toBuilder()
    • of

      public static LogBucketName of(String project, String location, String bucket)
    • ofProjectLocationBucketName

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

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

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

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

      public static String format(String project, String location, String bucket)
    • formatProjectLocationBucketName

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

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

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

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

      public static LogBucketName parse(String formattedString)
    • parseList

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

      public static List<String> toStringList(List<LogBucketName> 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