@Generated(value="by gapic-generator-java") public class BucketName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
BucketName.Builder
Builder for projects/{project}/buckets/{bucket}.
|
Modifier | Constructor and Description |
---|---|
protected |
BucketName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String bucket) |
String |
getBucket() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static BucketName.Builder |
newBuilder() |
static BucketName |
of(String project,
String bucket) |
static BucketName |
parse(String formattedString) |
static List<BucketName> |
parseList(List<String> formattedStrings) |
BucketName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<BucketName> values) |
@Deprecated protected BucketName()
public String getProject()
public String getBucket()
public static BucketName.Builder newBuilder()
public BucketName.Builder toBuilder()
public static BucketName of(String project, String bucket)
public static BucketName parse(String formattedString)
public static List<BucketName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<BucketName> values)
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 © 2023 Google LLC. All rights reserved.