Class DatasetConfig.ProjectErrors (0.48.0)

public static final class DatasetConfig.ProjectErrors extends GeneratedMessageV3 implements DatasetConfig.ProjectErrorsOrBuilder

Provides a summary of the project level error statistics.

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

Static Fields

DESTINATION_PROJECT_CHECK_HAS_INTERNAL_ERROR_FIELD_NUMBER

public static final int DESTINATION_PROJECT_CHECK_HAS_INTERNAL_ERROR_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_PROJECT_ORG_ERROR_FIELD_NUMBER

public static final int DESTINATION_PROJECT_ORG_ERROR_FIELD_NUMBER
Field Value
Type Description
int

INTERNAL_ERROR_COUNT_FIELD_NUMBER

public static final int INTERNAL_ERROR_COUNT_FIELD_NUMBER
Field Value
Type Description
int

NON_MANAGEMENT_HUB_ENTITLED_ERROR_COUNT_FIELD_NUMBER

public static final int NON_MANAGEMENT_HUB_ENTITLED_ERROR_COUNT_FIELD_NUMBER
Field Value
Type Description
int

NON_MANAGEMENT_HUB_ENTITLED_PROJECT_NUMBERS_FIELD_NUMBER

public static final int NON_MANAGEMENT_HUB_ENTITLED_PROJECT_NUMBERS_FIELD_NUMBER
Field Value
Type Description
int

NON_STORAGE_INTELLIGENCE_ENTITLED_ERROR_COUNT_FIELD_NUMBER

public static final int NON_STORAGE_INTELLIGENCE_ENTITLED_ERROR_COUNT_FIELD_NUMBER
Field Value
Type Description
int

NON_STORAGE_INTELLIGENCE_ENTITLED_PROJECT_NUMBERS_FIELD_NUMBER

public static final int NON_STORAGE_INTELLIGENCE_ENTITLED_PROJECT_NUMBERS_FIELD_NUMBER
Field Value
Type Description
int

OUTSIDE_ORG_ERROR_COUNT_FIELD_NUMBER

public static final int OUTSIDE_ORG_ERROR_COUNT_FIELD_NUMBER
Field Value
Type Description
int

OUTSIDE_ORG_PROJECT_NUMBERS_FIELD_NUMBER

public static final int OUTSIDE_ORG_PROJECT_NUMBERS_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.ProjectErrors getDefaultInstance()
Returns
Type Description
DatasetConfig.ProjectErrors

getDescriptor()

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

newBuilder()

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

newBuilder(DatasetConfig.ProjectErrors prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getDestinationProjectCheckHasInternalError()

public boolean getDestinationProjectCheckHasInternalError()

Optional. Indicates whether the destination project check failed due to an internal error. If true, the system automatically retries the check.

bool destination_project_check_has_internal_error = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The destinationProjectCheckHasInternalError.

getDestinationProjectCheckResultCase()

public DatasetConfig.ProjectErrors.DestinationProjectCheckResultCase getDestinationProjectCheckResultCase()
Returns
Type Description
DatasetConfig.ProjectErrors.DestinationProjectCheckResultCase

getDestinationProjectOrgError()

public boolean getDestinationProjectOrgError()

Optional. Indicates if the destination project resides within the same organization as the source project.

bool destination_project_org_error = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The destinationProjectOrgError.

getInternalErrorCount()

public long getInternalErrorCount()

Optional. Number of projects that encountered internal errors during validation and are automatically retried.

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

Returns
Type Description
long

The internalErrorCount.

getNonManagementHubEntitledErrorCount() (deprecated)

public long getNonManagementHubEntitledErrorCount()

Deprecated. google.cloud.storageinsights.v1.DatasetConfig.ProjectErrors.non_management_hub_entitled_error_count is deprecated. See google/cloud/storageinsights/v1/storageinsights.proto;l=726

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

optional int64 non_management_hub_entitled_error_count = 7 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The nonManagementHubEntitledErrorCount.

getNonManagementHubEntitledProjectNumbers(int index) (deprecated)

public long getNonManagementHubEntitledProjectNumbers(int index)

Deprecated. google.cloud.storageinsights.v1.DatasetConfig.ProjectErrors.non_management_hub_entitled_project_numbers is deprecated. See google/cloud/storageinsights/v1/storageinsights.proto;l=731

Optional. Subset of project numbers that are not subscribed to Storage Intelligence.

repeated int64 non_management_hub_entitled_project_numbers = 8 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The nonManagementHubEntitledProjectNumbers at the given index.

getNonManagementHubEntitledProjectNumbersCount() (deprecated)

public int getNonManagementHubEntitledProjectNumbersCount()

Deprecated. google.cloud.storageinsights.v1.DatasetConfig.ProjectErrors.non_management_hub_entitled_project_numbers is deprecated. See google/cloud/storageinsights/v1/storageinsights.proto;l=731

Optional. Subset of project numbers that are not subscribed to Storage Intelligence.

repeated int64 non_management_hub_entitled_project_numbers = 8 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of nonManagementHubEntitledProjectNumbers.

getNonManagementHubEntitledProjectNumbersList() (deprecated)

public List<Long> getNonManagementHubEntitledProjectNumbersList()

Deprecated. google.cloud.storageinsights.v1.DatasetConfig.ProjectErrors.non_management_hub_entitled_project_numbers is deprecated. See google/cloud/storageinsights/v1/storageinsights.proto;l=731

Optional. Subset of project numbers that are not subscribed to Storage Intelligence.

repeated int64 non_management_hub_entitled_project_numbers = 8 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Long>

A list containing the nonManagementHubEntitledProjectNumbers.

getNonStorageIntelligenceEntitledErrorCount()

public long getNonStorageIntelligenceEntitledErrorCount()

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

optional int64 non_storage_intelligence_entitled_error_count = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The nonStorageIntelligenceEntitledErrorCount.

getNonStorageIntelligenceEntitledProjectNumbers(int index)

public long getNonStorageIntelligenceEntitledProjectNumbers(int index)

Optional. Subset of project numbers that are not subscribed to Storage Intelligence.

repeated int64 non_storage_intelligence_entitled_project_numbers = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The nonStorageIntelligenceEntitledProjectNumbers at the given index.

getNonStorageIntelligenceEntitledProjectNumbersCount()

public int getNonStorageIntelligenceEntitledProjectNumbersCount()

Optional. Subset of project numbers that are not subscribed to Storage Intelligence.

repeated int64 non_storage_intelligence_entitled_project_numbers = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of nonStorageIntelligenceEntitledProjectNumbers.

getNonStorageIntelligenceEntitledProjectNumbersList()

public List<Long> getNonStorageIntelligenceEntitledProjectNumbersList()

Optional. Subset of project numbers that are not subscribed to Storage Intelligence.

repeated int64 non_storage_intelligence_entitled_project_numbers = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Long>

A list containing the nonStorageIntelligenceEntitledProjectNumbers.

getOutsideOrgErrorCount()

public long getOutsideOrgErrorCount()

Optional. Count of projects which are not in the same organization.

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

Returns
Type Description
long

The outsideOrgErrorCount.

getOutsideOrgProjectNumbers(int index)

public long getOutsideOrgProjectNumbers(int index)

Optional. Subset of project numbers which are not in the same organization.

repeated int64 outside_org_project_numbers = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The outsideOrgProjectNumbers at the given index.

getOutsideOrgProjectNumbersCount()

public int getOutsideOrgProjectNumbersCount()

Optional. Subset of project numbers which are not in the same organization.

repeated int64 outside_org_project_numbers = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of outsideOrgProjectNumbers.

getOutsideOrgProjectNumbersList()

public List<Long> getOutsideOrgProjectNumbersList()

Optional. Subset of project numbers which are not in the same organization.

repeated int64 outside_org_project_numbers = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Long>

A list containing the outsideOrgProjectNumbers.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValidatedCount()

public long getValidatedCount()

Optional. Count of successfully validated projects.

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

Returns
Type Description
long

The validatedCount.

hasDestinationProjectCheckHasInternalError()

public boolean hasDestinationProjectCheckHasInternalError()

Optional. Indicates whether the destination project check failed due to an internal error. If true, the system automatically retries the check.

bool destination_project_check_has_internal_error = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the destinationProjectCheckHasInternalError field is set.

hasDestinationProjectOrgError()

public boolean hasDestinationProjectOrgError()

Optional. Indicates if the destination project resides within the same organization as the source project.

bool destination_project_org_error = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the destinationProjectOrgError field is set.

hasInternalErrorCount()

public boolean hasInternalErrorCount()

Optional. Number of projects that encountered internal errors during validation and are automatically retried.

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

Returns
Type Description
boolean

Whether the internalErrorCount field is set.

hasNonManagementHubEntitledErrorCount() (deprecated)

public boolean hasNonManagementHubEntitledErrorCount()

Deprecated. google.cloud.storageinsights.v1.DatasetConfig.ProjectErrors.non_management_hub_entitled_error_count is deprecated. See google/cloud/storageinsights/v1/storageinsights.proto;l=726

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

optional int64 non_management_hub_entitled_error_count = 7 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the nonManagementHubEntitledErrorCount field is set.

hasNonStorageIntelligenceEntitledErrorCount()

public boolean hasNonStorageIntelligenceEntitledErrorCount()

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

optional int64 non_storage_intelligence_entitled_error_count = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the nonStorageIntelligenceEntitledErrorCount field is set.

hasOutsideOrgErrorCount()

public boolean hasOutsideOrgErrorCount()

Optional. Count of projects which are not in the same organization.

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

Returns
Type Description
boolean

Whether the outsideOrgErrorCount field is set.

hasValidatedCount()

public boolean hasValidatedCount()

Optional. Count of successfully validated projects.

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

Returns
Type Description
boolean

Whether the validatedCount field is set.

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.ProjectErrors.Builder newBuilderForType()
Returns
Type Description
DatasetConfig.ProjectErrors.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatasetConfig.ProjectErrors.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DatasetConfig.ProjectErrors.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.ProjectErrors.Builder toBuilder()
Returns
Type Description
DatasetConfig.ProjectErrors.Builder

writeTo(CodedOutputStream output)

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