Interface ErrorSummaryOrBuilder (0.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
public interface ErrorSummaryOrBuilder extends MessageOrBuilder
Methods
getErrorCode()
public abstract Code getErrorCode()
Required. The canonical error code.
.google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
com.google.rpc.Code |
The errorCode.
|
getErrorCodeValue()
public abstract int getErrorCodeValue()
Required. The canonical error code.
.google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for errorCode.
|
getErrorCount()
public abstract long getErrorCount()
Required. Number of errors encountered per error_code
.
int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
long |
The errorCount.
|
getErrorLogEntries(int index)
public abstract ErrorLogEntry getErrorLogEntries(int index)
Required. Sample error logs.
repeated .google.cloud.storagebatchoperations.v1.ErrorLogEntry error_log_entries = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getErrorLogEntriesCount()
public abstract int getErrorLogEntriesCount()
Required. Sample error logs.
repeated .google.cloud.storagebatchoperations.v1.ErrorLogEntry error_log_entries = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getErrorLogEntriesList()
public abstract List<ErrorLogEntry> getErrorLogEntriesList()
Required. Sample error logs.
repeated .google.cloud.storagebatchoperations.v1.ErrorLogEntry error_log_entries = 3 [(.google.api.field_behavior) = REQUIRED];
getErrorLogEntriesOrBuilder(int index)
public abstract ErrorLogEntryOrBuilder getErrorLogEntriesOrBuilder(int index)
Required. Sample error logs.
repeated .google.cloud.storagebatchoperations.v1.ErrorLogEntry error_log_entries = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getErrorLogEntriesOrBuilderList()
public abstract List<? extends ErrorLogEntryOrBuilder> getErrorLogEntriesOrBuilderList()
Required. Sample error logs.
repeated .google.cloud.storagebatchoperations.v1.ErrorLogEntry error_log_entries = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.storagebatchoperations.v1.ErrorLogEntryOrBuilder> |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface ErrorSummaryOrBuilder (0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/java/docs/reference/google-cloud-storagebatchoperations/latest/com.google.cloud.storagebatchoperations.v1.ErrorSummaryOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-storagebatchoperations/0.10.0/com.google.cloud.storagebatchoperations.v1.ErrorSummaryOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-storagebatchoperations/0.8.0/com.google.cloud.storagebatchoperations.v1.ErrorSummaryOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-storagebatchoperations/0.7.0/com.google.cloud.storagebatchoperations.v1.ErrorSummaryOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-storagebatchoperations/0.4.0/com.google.cloud.storagebatchoperations.v1.ErrorSummaryOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-storagebatchoperations/0.3.0/com.google.cloud.storagebatchoperations.v1.ErrorSummaryOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-storagebatchoperations/0.2.0/com.google.cloud.storagebatchoperations.v1.ErrorSummaryOrBuilder) \n\n public interface ErrorSummaryOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getErrorCode()\n\n public abstract Code getErrorCode()\n\nRequired. The canonical error code.\n\n`.google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED];`\n\n### getErrorCodeValue()\n\n public abstract int getErrorCodeValue()\n\nRequired. The canonical error code.\n\n`.google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED];`\n\n### getErrorCount()\n\n public abstract long getErrorCount()\n\nRequired. Number of errors encountered per `error_code`.\n\n`int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED];`\n\n### getErrorLogEntries(int index)\n\n public abstract ErrorLogEntry getErrorLogEntries(int index)\n\nRequired. Sample error logs.\n\n`\nrepeated .google.cloud.storagebatchoperations.v1.ErrorLogEntry error_log_entries = 3 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getErrorLogEntriesCount()\n\n public abstract int getErrorLogEntriesCount()\n\nRequired. Sample error logs.\n\n`\nrepeated .google.cloud.storagebatchoperations.v1.ErrorLogEntry error_log_entries = 3 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getErrorLogEntriesList()\n\n public abstract List\u003cErrorLogEntry\u003e getErrorLogEntriesList()\n\nRequired. Sample error logs.\n\n`\nrepeated .google.cloud.storagebatchoperations.v1.ErrorLogEntry error_log_entries = 3 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getErrorLogEntriesOrBuilder(int index)\n\n public abstract ErrorLogEntryOrBuilder getErrorLogEntriesOrBuilder(int index)\n\nRequired. Sample error logs.\n\n`\nrepeated .google.cloud.storagebatchoperations.v1.ErrorLogEntry error_log_entries = 3 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getErrorLogEntriesOrBuilderList()\n\n public abstract List\u003c? extends ErrorLogEntryOrBuilder\u003e getErrorLogEntriesOrBuilderList()\n\nRequired. Sample error logs.\n\n`\nrepeated .google.cloud.storagebatchoperations.v1.ErrorLogEntry error_log_entries = 3 [(.google.api.field_behavior) = REQUIRED];\n`"]]