public static final class ReadRangeError.Builder extends GeneratedMessage.Builder<ReadRangeError.Builder> implements ReadRangeErrorOrBuilderError extension proto containing details for a single range read
Protobuf type google.storage.v2.ReadRangeError
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReadRangeError.BuilderImplements
ReadRangeErrorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReadRangeError build()| Returns | |
|---|---|
| Type | Description |
ReadRangeError |
|
buildPartial()
public ReadRangeError buildPartial()| Returns | |
|---|---|
| Type | Description |
ReadRangeError |
|
clear()
public ReadRangeError.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReadRangeError.Builder |
|
clearReadId()
public ReadRangeError.Builder clearReadId()The id of the corresponding read_range
int64 read_id = 1;
| Returns | |
|---|---|
| Type | Description |
ReadRangeError.Builder |
This builder for chaining. |
clearStatus()
public ReadRangeError.Builder clearStatus()The status which should be an enum value of [google.rpc.Code].
.google.rpc.Status status = 2;
| Returns | |
|---|---|
| Type | Description |
ReadRangeError.Builder |
|
getDefaultInstanceForType()
public ReadRangeError getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReadRangeError |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getReadId()
public long getReadId()The id of the corresponding read_range
int64 read_id = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The readId. |
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. |
getStatusBuilder()
public Status.Builder getStatusBuilder()The status which should be an enum value of [google.rpc.Code].
.google.rpc.Status status = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status.Builder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReadRangeError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReadRangeError.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReadRangeError.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReadRangeError.Builder |
|
mergeFrom(ReadRangeError other)
public ReadRangeError.Builder mergeFrom(ReadRangeError other)| Parameter | |
|---|---|
| Name | Description |
other |
ReadRangeError |
| Returns | |
|---|---|
| Type | Description |
ReadRangeError.Builder |
|
mergeStatus(Status value)
public ReadRangeError.Builder mergeStatus(Status value)The status which should be an enum value of [google.rpc.Code].
.google.rpc.Status status = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
ReadRangeError.Builder |
|
setReadId(long value)
public ReadRangeError.Builder setReadId(long value)The id of the corresponding read_range
int64 read_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe readId to set. |
| Returns | |
|---|---|
| Type | Description |
ReadRangeError.Builder |
This builder for chaining. |
setStatus(Status value)
public ReadRangeError.Builder setStatus(Status value)The status which should be an enum value of [google.rpc.Code].
.google.rpc.Status status = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
ReadRangeError.Builder |
|
setStatus(Status.Builder builderForValue)
public ReadRangeError.Builder setStatus(Status.Builder builderForValue)The status which should be an enum value of [google.rpc.Code].
.google.rpc.Status status = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
ReadRangeError.Builder |
|