Class DatasetConfig.BucketErrors (0.48.0)

public static final class DatasetConfig.BucketErrors extends GeneratedMessageV3 implements DatasetConfig.BucketErrorsOrBuilder

Provides a summary of the bucket level error statistics.

Protobuf type google.cloud.storageinsights.v1.DatasetConfig.BucketErrors

Static Fields

INTERNAL_ERROR_COUNT_FIELD_NUMBER

public static final int INTERNAL_ERROR_COUNT_FIELD_NUMBER
Field Value
Type Description
int

NON_MANAGEMENT_HUB_ENTITLED_COUNT_FIELD_NUMBER

public static final int NON_MANAGEMENT_HUB_ENTITLED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

NON_STORAGE_INTELLIGENCE_ENTITLED_BUCKET_IDS_FIELD_NUMBER

public static final int NON_STORAGE_INTELLIGENCE_ENTITLED_BUCKET_IDS_FIELD_NUMBER
Field Value
Type Description
int

NON_STORAGE_INTELLIGENCE_ENTITLED_COUNT_FIELD_NUMBER

public static final int NON_STORAGE_INTELLIGENCE_ENTITLED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

PERMISSION_DENIED_BUCKET_IDS_FIELD_NUMBER

public static final int PERMISSION_DENIED_BUCKET_IDS_FIELD_NUMBER
Field Value
Type Description
int

PERMISSION_DENIED_COUNT_FIELD_NUMBER

public static final int PERMISSION_DENIED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

VALIDATED_COUNT_FIELD_NUMBER

public static final int VALIDATED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DatasetConfig.BucketErrors getDefaultInstance()
Returns
Type Description
DatasetConfig.BucketErrors

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DatasetConfig.BucketErrors.Builder newBuilder()
Returns
Type Description
DatasetConfig.BucketErrors.Builder

newBuilder(DatasetConfig.BucketErrors prototype)

public static DatasetConfig.BucketErrors.Builder newBuilder(DatasetConfig.BucketErrors prototype)
Parameter
Name Description
prototype DatasetConfig.BucketErrors
Returns
Type Description
DatasetConfig.BucketErrors.Builder

parseDelimitedFrom(InputStream input)

public static DatasetConfig.BucketErrors parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatasetConfig.BucketErrors
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatasetConfig.BucketErrors parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetConfig.BucketErrors
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DatasetConfig.BucketErrors parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DatasetConfig.BucketErrors
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatasetConfig.BucketErrors parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetConfig.BucketErrors
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatasetConfig.BucketErrors parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DatasetConfig.BucketErrors
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatasetConfig.BucketErrors parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetConfig.BucketErrors
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatasetConfig.BucketErrors parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DatasetConfig.BucketErrors
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatasetConfig.BucketErrors parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetConfig.BucketErrors
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DatasetConfig.BucketErrors parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatasetConfig.BucketErrors
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatasetConfig.BucketErrors parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetConfig.BucketErrors
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DatasetConfig.BucketErrors parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DatasetConfig.BucketErrors
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatasetConfig.BucketErrors parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetConfig.BucketErrors
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DatasetConfig.BucketErrors> parser()
Returns
Type Description
Parser<BucketErrors>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DatasetConfig.BucketErrors getDefaultInstanceForType()
Returns
Type Description
DatasetConfig.BucketErrors

getInternalErrorCount()

public long getInternalErrorCount()

Optional. Number of buckets that encountered internal errors during the validation process. These buckets are automatically retried in subsequent validation attempts.

int64 internal_error_count = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The internalErrorCount.

getNonManagementHubEntitledCount() (deprecated)

public long getNonManagementHubEntitledCount()

Deprecated. google.cloud.storageinsights.v1.DatasetConfig.BucketErrors.non_management_hub_entitled_count is deprecated. See google/cloud/storageinsights/v1/storageinsights.proto;l=691

Optional. Count of buckets that are not subscribed to Storage Intelligence.

int64 non_management_hub_entitled_count = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The nonManagementHubEntitledCount.

getNonStorageIntelligenceEntitledBucketIds(int index)

public String getNonStorageIntelligenceEntitledBucketIds(int index)

Optional. Subset of bucket names that are not subscribed to Storage Intelligence.

repeated string non_storage_intelligence_entitled_bucket_ids = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The nonStorageIntelligenceEntitledBucketIds at the given index.

getNonStorageIntelligenceEntitledBucketIdsBytes(int index)

public ByteString getNonStorageIntelligenceEntitledBucketIdsBytes(int index)

Optional. Subset of bucket names that are not subscribed to Storage Intelligence.

repeated string non_storage_intelligence_entitled_bucket_ids = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the nonStorageIntelligenceEntitledBucketIds at the given index.

getNonStorageIntelligenceEntitledBucketIdsCount()

public int getNonStorageIntelligenceEntitledBucketIdsCount()

Optional. Subset of bucket names that are not subscribed to Storage Intelligence.

repeated string non_storage_intelligence_entitled_bucket_ids = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of nonStorageIntelligenceEntitledBucketIds.

getNonStorageIntelligenceEntitledBucketIdsList()

public ProtocolStringList getNonStorageIntelligenceEntitledBucketIdsList()

Optional. Subset of bucket names that are not subscribed to Storage Intelligence.

repeated string non_storage_intelligence_entitled_bucket_ids = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the nonStorageIntelligenceEntitledBucketIds.

getNonStorageIntelligenceEntitledCount()

public long getNonStorageIntelligenceEntitledCount()

Optional. Count of buckets that are not subscribed to Storage Intelligence.

int64 non_storage_intelligence_entitled_count = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The nonStorageIntelligenceEntitledCount.

getParserForType()

public Parser<DatasetConfig.BucketErrors> getParserForType()
Returns
Type Description
Parser<BucketErrors>
Overrides

getPermissionDeniedBucketIds(int index)

public String getPermissionDeniedBucketIds(int index)

Optional. Subset of bucket names that have permission denied.

repeated string permission_denied_bucket_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The permissionDeniedBucketIds at the given index.

getPermissionDeniedBucketIdsBytes(int index)

public ByteString getPermissionDeniedBucketIdsBytes(int index)

Optional. Subset of bucket names that have permission denied.

repeated string permission_denied_bucket_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the permissionDeniedBucketIds at the given index.

getPermissionDeniedBucketIdsCount()

public int getPermissionDeniedBucketIdsCount()

Optional. Subset of bucket names that have permission denied.

repeated string permission_denied_bucket_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of permissionDeniedBucketIds.

getPermissionDeniedBucketIdsList()

public ProtocolStringList getPermissionDeniedBucketIdsList()

Optional. Subset of bucket names that have permission denied.

repeated string permission_denied_bucket_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the permissionDeniedBucketIds.

getPermissionDeniedCount()

public long getPermissionDeniedCount()

Optional. Count of buckets with permission denied errors.

int64 permission_denied_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The permissionDeniedCount.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValidatedCount()

public long getValidatedCount()

Optional. Count of successfully validated buckets.

int64 validated_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The validatedCount.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DatasetConfig.BucketErrors.Builder newBuilderForType()
Returns
Type Description
DatasetConfig.BucketErrors.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatasetConfig.BucketErrors.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DatasetConfig.BucketErrors.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DatasetConfig.BucketErrors.Builder toBuilder()
Returns
Type Description
DatasetConfig.BucketErrors.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException