public final class BidiReadObjectResponse extends GeneratedMessage implements BidiReadObjectResponseOrBuilder
Response message for
BidiReadObject.
Protobuf type google.storage.v2.BidiReadObjectResponse
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int METADATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OBJECT_DATA_RANGES_FIELD_NUMBER
public static final int OBJECT_DATA_RANGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
READ_HANDLE_FIELD_NUMBER
public static final int READ_HANDLE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BidiReadObjectResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BidiReadObjectResponse.Builder newBuilder()
newBuilder(BidiReadObjectResponse prototype)
public static BidiReadObjectResponse.Builder newBuilder(BidiReadObjectResponse prototype)
public static BidiReadObjectResponse parseDelimitedFrom(InputStream input)
public static BidiReadObjectResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BidiReadObjectResponse parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BidiReadObjectResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BidiReadObjectResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BidiReadObjectResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BidiReadObjectResponse parseFrom(CodedInputStream input)
public static BidiReadObjectResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BidiReadObjectResponse parseFrom(InputStream input)
public static BidiReadObjectResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BidiReadObjectResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BidiReadObjectResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BidiReadObjectResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public BidiReadObjectResponse getDefaultInstanceForType()
public Object getMetadata()
Metadata of the object whose media is being returned.
Only populated in the first response in the stream and not populated when
the stream is opened with a read handle.
.google.storage.v2.Object metadata = 4;
| Returns |
| Type |
Description |
Object |
The metadata.
|
public ObjectOrBuilder getMetadataOrBuilder()
Metadata of the object whose media is being returned.
Only populated in the first response in the stream and not populated when
the stream is opened with a read handle.
.google.storage.v2.Object metadata = 4;
getObjectDataRanges(int index)
public ObjectRangeData getObjectDataRanges(int index)
A portion of the object's data. The service might leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Parameter |
| Name |
Description |
index |
int
|
getObjectDataRangesCount()
public int getObjectDataRangesCount()
A portion of the object's data. The service might leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Returns |
| Type |
Description |
int |
|
getObjectDataRangesList()
public List<ObjectRangeData> getObjectDataRangesList()
A portion of the object's data. The service might leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
getObjectDataRangesOrBuilder(int index)
public ObjectRangeDataOrBuilder getObjectDataRangesOrBuilder(int index)
A portion of the object's data. The service might leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Parameter |
| Name |
Description |
index |
int
|
getObjectDataRangesOrBuilderList()
public List<? extends ObjectRangeDataOrBuilder> getObjectDataRangesOrBuilderList()
A portion of the object's data. The service might leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Returns |
| Type |
Description |
List<? extends com.google.storage.v2.ObjectRangeDataOrBuilder> |
|
getParserForType()
public Parser<BidiReadObjectResponse> getParserForType()
Overrides
getReadHandle()
public BidiReadHandle getReadHandle()
This field is periodically refreshed, however it might not be set in
every response. It allows the client to more efficiently open subsequent
bidirectional streams to the same object.
.google.storage.v2.BidiReadHandle read_handle = 7;
getReadHandleOrBuilder()
public BidiReadHandleOrBuilder getReadHandleOrBuilder()
This field is periodically refreshed, however it might not be set in
every response. It allows the client to more efficiently open subsequent
bidirectional streams to the same object.
.google.storage.v2.BidiReadHandle read_handle = 7;
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public boolean hasMetadata()
Metadata of the object whose media is being returned.
Only populated in the first response in the stream and not populated when
the stream is opened with a read handle.
.google.storage.v2.Object metadata = 4;
| Returns |
| Type |
Description |
boolean |
Whether the metadata field is set.
|
hasReadHandle()
public boolean hasReadHandle()
This field is periodically refreshed, however it might not be set in
every response. It allows the client to more efficiently open subsequent
bidirectional streams to the same object.
.google.storage.v2.BidiReadHandle read_handle = 7;
| Returns |
| Type |
Description |
boolean |
Whether the readHandle field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BidiReadObjectResponse.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BidiReadObjectResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public BidiReadObjectResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides