Class ReadRangeError (2.58.1)
public final class ReadRangeError extends GeneratedMessageV3 implements ReadRangeErrorOrBuilder
Error extension proto containing details for a single range read
Protobuf type google.storage.v2.ReadRangeError
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
READ_ID_FIELD_NUMBER
public static final int READ_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ReadRangeError getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ReadRangeError.Builder newBuilder()
newBuilder(ReadRangeError prototype)
public static ReadRangeError.Builder newBuilder(ReadRangeError prototype)
public static ReadRangeError parseDelimitedFrom(InputStream input)
public static ReadRangeError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ReadRangeError parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReadRangeError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ReadRangeError parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReadRangeError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReadRangeError parseFrom(CodedInputStream input)
public static ReadRangeError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReadRangeError parseFrom(InputStream input)
public static ReadRangeError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ReadRangeError parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReadRangeError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ReadRangeError> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ReadRangeError getDefaultInstanceForType()
getParserForType()
public Parser<ReadRangeError> getParserForType()
Overrides
getReadId()
The id of the corresponding read_range
int64 read_id = 1;
Returns |
Type |
Description |
long |
The readId.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStatus()
public Status getStatus()
The status which should be an enum value of [google.rpc.Code].
.google.rpc.Status status = 2;
Returns |
Type |
Description |
com.google.rpc.Status |
The status.
|
getStatusOrBuilder()
public StatusOrBuilder getStatusOrBuilder()
The status which should be an enum value of [google.rpc.Code].
.google.rpc.Status status = 2;
Returns |
Type |
Description |
com.google.rpc.StatusOrBuilder |
|
hasStatus()
public boolean hasStatus()
The status which should be an enum value of [google.rpc.Code].
.google.rpc.Status status = 2;
Returns |
Type |
Description |
boolean |
Whether the status field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ReadRangeError.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReadRangeError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ReadRangeError.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
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-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]