public static final class DatasetConfig.CloudStorageBuckets.CloudStorageBucket extends GeneratedMessage implements DatasetConfig.CloudStorageBuckets.CloudStorageBucketOrBuilderDefines the bucket by its name or a regex pattern to match buckets.
Protobuf type
google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets.CloudStorageBucket
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DatasetConfig.CloudStorageBuckets.CloudStorageBucketStatic Fields
BUCKET_NAME_FIELD_NUMBER
public static final int BUCKET_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
BUCKET_PREFIX_REGEX_FIELD_NUMBER
public static final int BUCKET_PREFIX_REGEX_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket.Builder |
|
newBuilder(DatasetConfig.CloudStorageBuckets.CloudStorageBucket prototype)
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket.Builder newBuilder(DatasetConfig.CloudStorageBuckets.CloudStorageBucket prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket.Builder |
|
parseDelimitedFrom(InputStream input)
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DatasetConfig.CloudStorageBuckets.CloudStorageBucket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<DatasetConfig.CloudStorageBuckets.CloudStorageBucket> parser()| Returns | |
|---|---|
| Type | Description |
Parser<CloudStorageBucket> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getBucketName()
public String getBucketName()Cloud Storage bucket name.
string bucket_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The bucketName. |
getBucketNameBytes()
public ByteString getBucketNameBytes()Cloud Storage bucket name.
string bucket_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for bucketName. |
getBucketPrefixRegex()
public String getBucketPrefixRegex() A regex pattern for bucket names matching the regex. Regex should
follow the syntax specified in google/re2 on GitHub.
string bucket_prefix_regex = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The bucketPrefixRegex. |
getBucketPrefixRegexBytes()
public ByteString getBucketPrefixRegexBytes() A regex pattern for bucket names matching the regex. Regex should
follow the syntax specified in google/re2 on GitHub.
string bucket_prefix_regex = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for bucketPrefixRegex. |
getCloudStorageBucketCase()
public DatasetConfig.CloudStorageBuckets.CloudStorageBucket.CloudStorageBucketCase getCloudStorageBucketCase()| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket.CloudStorageBucketCase |
|
getDefaultInstanceForType()
public DatasetConfig.CloudStorageBuckets.CloudStorageBucket getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket |
|
getParserForType()
public Parser<DatasetConfig.CloudStorageBuckets.CloudStorageBucket> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<CloudStorageBucket> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasBucketName()
public boolean hasBucketName()Cloud Storage bucket name.
string bucket_name = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the bucketName field is set. |
hasBucketPrefixRegex()
public boolean hasBucketPrefixRegex() A regex pattern for bucket names matching the regex. Regex should
follow the syntax specified in google/re2 on GitHub.
string bucket_prefix_regex = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the bucketPrefixRegex field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public DatasetConfig.CloudStorageBuckets.CloudStorageBucket.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DatasetConfig.CloudStorageBuckets.CloudStorageBucket.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket.Builder |
|
toBuilder()
public DatasetConfig.CloudStorageBuckets.CloudStorageBucket.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
DatasetConfig.CloudStorageBuckets.CloudStorageBucket.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|