test_class.file: gcsio/src/test/java/com/google/cloud/hadoop/gcsio/GoogleCloudStorageReadChannelTest.java
test_class.identifier: GoogleCloudStorageReadChannelTest
test_case.body: @Test
    public void lazyReadFileAtSpecificGeneration_fails_whenReadConsistencyStrict()
        throws IOException {
      long generation = 5L;
      MockHttpTransport transport = mockTransport(jsonErrorResponse(ErrorResponses.NOT_FOUND));
  
      List<HttpRequest> requests = new ArrayList<>();
  
      Storage storage = new Storage(transport, JSON_FACTORY, requests::add);
  
      GoogleCloudStorageReadOptions options =
          GoogleCloudStorageReadOptions.builder().setFastFailOnNotFound(false).build();
      GoogleCloudStorageReadChannel readChannel = createReadChannel(storage, options, generation);
      assertThrows(FileNotFoundException.class, () -> readChannel.size());
    }
test_case.class_method_signature: GoogleCloudStorageReadChannelTest.lazyReadFileAtSpecificGeneration_fails_whenReadConsistencyStrict()
test_case.full_signature: @Test public void lazyReadFileAtSpecificGeneration_fails_whenReadConsistencyStrict()
test_case.identifier: lazyReadFileAtSpecificGeneration_fails_whenReadConsistencyStrict
test_case.invocations: mockTransport jsonErrorResponse build setFastFailOnNotFound builder createReadChannel assertThrows size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void lazyReadFileAtSpecificGeneration_fails_whenReadConsistencyStrict()
focal_class.declarator: logger = GoogleLogger.forEnclosingClass()
focal_class.modifier: private static final
focal_class.original_string: private static final GoogleLogger logger = GoogleLogger.forEnclosingClass();
focal_class.type: GoogleLogger
focal_class.var_name: logger
focal_class.declarator: SKIP_BUFFER_SIZE = 8192
focal_class.modifier: @VisibleForTesting static final
focal_class.original_string: @VisibleForTesting static final int SKIP_BUFFER_SIZE = 8192;
focal_class.type: int
focal_class.var_name: SKIP_BUFFER_SIZE
focal_class.declarator: GZIP_ENCODING = "gzip"
focal_class.modifier: private static final
focal_class.original_string: private static final String GZIP_ENCODING = "gzip";
focal_class.type: String
focal_class.var_name: GZIP_ENCODING
focal_class.declarator: gcs
focal_class.modifier: private final
focal_class.original_string: private final Storage gcs;
focal_class.type: Storage
focal_class.var_name: gcs
focal_class.declarator: resourceId
focal_class.modifier: private
focal_class.original_string: private StorageResourceId resourceId;
focal_class.type: StorageResourceId
focal_class.var_name: resourceId
focal_class.declarator: contentChannel
focal_class.modifier: @VisibleForTesting
focal_class.original_string: @VisibleForTesting ReadableByteChannel contentChannel;
focal_class.type: ReadableByteChannel
focal_class.var_name: contentChannel
focal_class.declarator: channelIsOpen = true
focal_class.modifier: private
focal_class.original_string: private boolean channelIsOpen = true;
focal_class.type: boolean
focal_class.var_name: channelIsOpen
focal_class.declarator: currentPosition = 0
focal_class.modifier: protected
focal_class.original_string: protected long currentPosition = 0;
focal_class.type: long
focal_class.var_name: currentPosition
focal_class.declarator: contentChannelPosition = -1
focal_class.modifier: protected
focal_class.original_string: protected long contentChannelPosition = -1;
focal_class.type: long
focal_class.var_name: contentChannelPosition
focal_class.declarator: size = -1
focal_class.modifier: private
focal_class.original_string: private long size = -1;
focal_class.type: long
focal_class.var_name: size
focal_class.declarator: contentChannelEnd = -1
focal_class.modifier: private
focal_class.original_string: private long contentChannelEnd = -1;
focal_class.type: long
focal_class.var_name: contentChannelEnd
focal_class.declarator: randomAccess
focal_class.modifier: @VisibleForTesting
focal_class.original_string: @VisibleForTesting boolean randomAccess;
focal_class.type: boolean
focal_class.var_name: randomAccess
focal_class.declarator: maxRetries = 10
focal_class.modifier: private
focal_class.original_string: private int maxRetries = 10;
focal_class.type: int
focal_class.var_name: maxRetries
focal_class.declarator: errorExtractor
focal_class.modifier: private final
focal_class.original_string: private final ApiErrorExtractor errorExtractor;
focal_class.type: ApiErrorExtractor
focal_class.var_name: errorExtractor
focal_class.declarator: clientRequestHelper
focal_class.modifier: private final
focal_class.original_string: private final ClientRequestHelper<StorageObject> clientRequestHelper;
focal_class.type: ClientRequestHelper<StorageObject>
focal_class.var_name: clientRequestHelper
focal_class.declarator: readOptions
focal_class.modifier: private final
focal_class.original_string: private final GoogleCloudStorageReadOptions readOptions;
focal_class.type: GoogleCloudStorageReadOptions
focal_class.var_name: readOptions
focal_class.declarator: sleeper = Sleeper.DEFAULT
focal_class.modifier: private
focal_class.original_string: private Sleeper sleeper = Sleeper.DEFAULT;
focal_class.type: Sleeper
focal_class.var_name: sleeper
focal_class.declarator: clock = NanoClock.SYSTEM
focal_class.modifier: private
focal_class.original_string: private NanoClock clock = NanoClock.SYSTEM;
focal_class.type: NanoClock
focal_class.var_name: clock
focal_class.declarator: readBackOff = Suppliers.memoize(this::createBackOff)
focal_class.modifier: private
focal_class.original_string: private Supplier<BackOff> readBackOff = Suppliers.memoize(this::createBackOff);
focal_class.type: Supplier<BackOff>
focal_class.var_name: readBackOff
focal_class.declarator: skipBuffer = null
focal_class.modifier: private
focal_class.original_string: private byte[] skipBuffer = null;
focal_class.type: byte[]
focal_class.var_name: skipBuffer
focal_class.declarator: gzipEncoded = false
focal_class.modifier: private
focal_class.original_string: private boolean gzipEncoded = false;
focal_class.type: boolean
focal_class.var_name: gzipEncoded
focal_class.declarator: footerContent
focal_class.modifier: private
focal_class.original_string: private byte[] footerContent;
focal_class.type: byte[]
focal_class.var_name: footerContent
focal_class.declarator: metadataInitialized = false
focal_class.modifier: @VisibleForTesting protected
focal_class.original_string: @VisibleForTesting protected boolean metadataInitialized = false;
focal_class.type: boolean
focal_class.var_name: metadataInitialized
focal_class.file: gcsio/src/main/java/com/google/cloud/hadoop/gcsio/GoogleCloudStorageReadChannel.java
focal_class.identifier: GoogleCloudStorageReadChannel
focal_class.interfaces: implements SeekableByteChannel
focal_class.class_method_signature: GoogleCloudStorageReadChannel.GoogleCloudStorageReadChannel(
        Storage gcs,
        String bucketName,
        String objectName,
        ApiErrorExtractor errorExtractor,
        ClientRequestHelper<StorageObject> requestHelper)
focal_class.full_signature: public  GoogleCloudStorageReadChannel(
        Storage gcs,
        String bucketName,
        String objectName,
        ApiErrorExtractor errorExtractor,
        ClientRequestHelper<StorageObject> requestHelper)
focal_class.identifier: GoogleCloudStorageReadChannel
focal_class.modifiers: public
focal_class.parameters: (
        Storage gcs,
        String bucketName,
        String objectName,
        ApiErrorExtractor errorExtractor,
        ClientRequestHelper<StorageObject> requestHelper)
focal_class.signature:  GoogleCloudStorageReadChannel(
        Storage gcs,
        String bucketName,
        String objectName,
        ApiErrorExtractor errorExtractor,
        ClientRequestHelper<StorageObject> requestHelper)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.GoogleCloudStorageReadChannel(
        Storage gcs,
        String bucketName,
        String objectName,
        ApiErrorExtractor errorExtractor,
        ClientRequestHelper<StorageObject> requestHelper,
        @Nonnull GoogleCloudStorageReadOptions readOptions)
focal_class.full_signature: public  GoogleCloudStorageReadChannel(
        Storage gcs,
        String bucketName,
        String objectName,
        ApiErrorExtractor errorExtractor,
        ClientRequestHelper<StorageObject> requestHelper,
        @Nonnull GoogleCloudStorageReadOptions readOptions)
focal_class.identifier: GoogleCloudStorageReadChannel
focal_class.modifiers: public
focal_class.parameters: (
        Storage gcs,
        String bucketName,
        String objectName,
        ApiErrorExtractor errorExtractor,
        ClientRequestHelper<StorageObject> requestHelper,
        @Nonnull GoogleCloudStorageReadOptions readOptions)
focal_class.signature:  GoogleCloudStorageReadChannel(
        Storage gcs,
        String bucketName,
        String objectName,
        ApiErrorExtractor errorExtractor,
        ClientRequestHelper<StorageObject> requestHelper,
        @Nonnull GoogleCloudStorageReadOptions readOptions)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.GoogleCloudStorageReadChannel(
        Storage gcs,
        StorageResourceId resourceId,
        ApiErrorExtractor errorExtractor,
        ClientRequestHelper<StorageObject> requestHelper,
        @Nonnull GoogleCloudStorageReadOptions readOptions)
focal_class.full_signature: public  GoogleCloudStorageReadChannel(
        Storage gcs,
        StorageResourceId resourceId,
        ApiErrorExtractor errorExtractor,
        ClientRequestHelper<StorageObject> requestHelper,
        @Nonnull GoogleCloudStorageReadOptions readOptions)
focal_class.identifier: GoogleCloudStorageReadChannel
focal_class.modifiers: public
focal_class.parameters: (
        Storage gcs,
        StorageResourceId resourceId,
        ApiErrorExtractor errorExtractor,
        ClientRequestHelper<StorageObject> requestHelper,
        @Nonnull GoogleCloudStorageReadOptions readOptions)
focal_class.signature:  GoogleCloudStorageReadChannel(
        Storage gcs,
        StorageResourceId resourceId,
        ApiErrorExtractor errorExtractor,
        ClientRequestHelper<StorageObject> requestHelper,
        @Nonnull GoogleCloudStorageReadOptions readOptions)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.GoogleCloudStorageReadChannel(
        String bucketName, String objectName, @Nonnull GoogleCloudStorageReadOptions readOptions)
focal_class.full_signature: protected  GoogleCloudStorageReadChannel(
        String bucketName, String objectName, @Nonnull GoogleCloudStorageReadOptions readOptions)
focal_class.identifier: GoogleCloudStorageReadChannel
focal_class.modifiers: protected
focal_class.parameters: (
        String bucketName, String objectName, @Nonnull GoogleCloudStorageReadOptions readOptions)
focal_class.signature:  GoogleCloudStorageReadChannel(
        String bucketName, String objectName, @Nonnull GoogleCloudStorageReadOptions readOptions)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.setSleeper(Sleeper sleeper)
focal_class.full_signature: @VisibleForTesting void setSleeper(Sleeper sleeper)
focal_class.identifier: setSleeper
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: (Sleeper sleeper)
focal_class.return: void
focal_class.signature: void setSleeper(Sleeper sleeper)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.setNanoClock(NanoClock clock)
focal_class.full_signature: @VisibleForTesting void setNanoClock(NanoClock clock)
focal_class.identifier: setNanoClock
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: (NanoClock clock)
focal_class.return: void
focal_class.signature: void setNanoClock(NanoClock clock)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.setReadBackOff(BackOff backOff)
focal_class.full_signature:  void setReadBackOff(BackOff backOff)
focal_class.identifier: setReadBackOff
focal_class.parameters: (BackOff backOff)
focal_class.return: void
focal_class.signature: void setReadBackOff(BackOff backOff)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.getReadBackOff()
focal_class.full_signature: @VisibleForTesting BackOff getReadBackOff()
focal_class.identifier: getReadBackOff
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: ()
focal_class.return: BackOff
focal_class.signature: BackOff getReadBackOff()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.createBackOff()
focal_class.full_signature: @VisibleForTesting ExponentialBackOff createBackOff()
focal_class.identifier: createBackOff
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: ()
focal_class.return: ExponentialBackOff
focal_class.signature: ExponentialBackOff createBackOff()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.getInitialMetadata()
focal_class.full_signature: @Nullable protected GoogleCloudStorageItemInfo getInitialMetadata()
focal_class.identifier: getInitialMetadata
focal_class.modifiers: @Nullable protected
focal_class.parameters: ()
focal_class.return: GoogleCloudStorageItemInfo
focal_class.signature: GoogleCloudStorageItemInfo getInitialMetadata()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.fetchInitialMetadata()
focal_class.full_signature: private GoogleCloudStorageItemInfo fetchInitialMetadata()
focal_class.identifier: fetchInitialMetadata
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: GoogleCloudStorageItemInfo
focal_class.signature: GoogleCloudStorageItemInfo fetchInitialMetadata()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.setMaxRetries(int maxRetries)
focal_class.full_signature: public void setMaxRetries(int maxRetries)
focal_class.identifier: setMaxRetries
focal_class.modifiers: public
focal_class.parameters: (int maxRetries)
focal_class.return: void
focal_class.signature: void setMaxRetries(int maxRetries)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.read(ByteBuffer buffer)
focal_class.full_signature: @Override public int read(ByteBuffer buffer)
focal_class.identifier: read
focal_class.modifiers: @Override public
focal_class.parameters: (ByteBuffer buffer)
focal_class.return: int
focal_class.signature: int read(ByteBuffer buffer)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.truncate(long size)
focal_class.full_signature: @Override public SeekableByteChannel truncate(long size)
focal_class.identifier: truncate
focal_class.modifiers: @Override public
focal_class.parameters: (long size)
focal_class.return: SeekableByteChannel
focal_class.signature: SeekableByteChannel truncate(long size)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.write(ByteBuffer src)
focal_class.full_signature: @Override public int write(ByteBuffer src)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (ByteBuffer src)
focal_class.return: int
focal_class.signature: int write(ByteBuffer src)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.isOpen()
focal_class.full_signature: @Override public boolean isOpen()
focal_class.identifier: isOpen
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isOpen()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.closeContentChannel()
focal_class.full_signature: protected void closeContentChannel()
focal_class.identifier: closeContentChannel
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void closeContentChannel()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.resetContentChannel()
focal_class.full_signature: private void resetContentChannel()
focal_class.identifier: resetContentChannel
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void resetContentChannel()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.position()
focal_class.full_signature: @Override public long position()
focal_class.identifier: position
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long position()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.position(long newPosition)
focal_class.full_signature: @Override public SeekableByteChannel position(long newPosition)
focal_class.identifier: position
focal_class.modifiers: @Override public
focal_class.parameters: (long newPosition)
focal_class.return: SeekableByteChannel
focal_class.signature: SeekableByteChannel position(long newPosition)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.isRandomAccessPattern(long oldPosition)
focal_class.full_signature: private boolean isRandomAccessPattern(long oldPosition)
focal_class.identifier: isRandomAccessPattern
focal_class.modifiers: private
focal_class.parameters: (long oldPosition)
focal_class.return: boolean
focal_class.signature: boolean isRandomAccessPattern(long oldPosition)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.shouldDetectRandomAccess()
focal_class.full_signature: private boolean shouldDetectRandomAccess()
focal_class.identifier: shouldDetectRandomAccess
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean shouldDetectRandomAccess()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.setRandomAccess()
focal_class.full_signature: private void setRandomAccess()
focal_class.identifier: setRandomAccess
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setRandomAccess()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.skipInPlace(long seekDistance)
focal_class.full_signature: private void skipInPlace(long seekDistance)
focal_class.identifier: skipInPlace
focal_class.modifiers: private
focal_class.parameters: (long seekDistance)
focal_class.return: void
focal_class.signature: void skipInPlace(long seekDistance)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.size()
focal_class.full_signature: @Override public long size()
focal_class.identifier: size
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long size()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.generation()
focal_class.full_signature: @VisibleForTesting long generation()
focal_class.identifier: generation
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long generation()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.setSize(long size)
focal_class.full_signature: protected void setSize(long size)
focal_class.identifier: setSize
focal_class.modifiers: protected
focal_class.parameters: (long size)
focal_class.return: void
focal_class.signature: void setSize(long size)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.checkEncodingAndAccess()
focal_class.full_signature: private void checkEncodingAndAccess()
focal_class.identifier: checkEncodingAndAccess
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkEncodingAndAccess()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.validatePosition(long position)
focal_class.full_signature: protected void validatePosition(long position)
focal_class.identifier: validatePosition
focal_class.modifiers: protected
focal_class.parameters: (long position)
focal_class.return: void
focal_class.signature: void validatePosition(long position)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.performLazySeek(long bytesToRead)
focal_class.full_signature: @VisibleForTesting void performLazySeek(long bytesToRead)
focal_class.identifier: performLazySeek
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: (long bytesToRead)
focal_class.return: void
focal_class.signature: void performLazySeek(long bytesToRead)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.openContentChannel(long bytesToRead)
focal_class.full_signature: private void openContentChannel(long bytesToRead)
focal_class.identifier: openContentChannel
focal_class.modifiers: private
focal_class.parameters: (long bytesToRead)
focal_class.return: void
focal_class.signature: void openContentChannel(long bytesToRead)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.initMetadata(GoogleCloudStorageItemInfo info)
focal_class.full_signature: private void initMetadata(GoogleCloudStorageItemInfo info)
focal_class.identifier: initMetadata
focal_class.modifiers: private
focal_class.parameters: (GoogleCloudStorageItemInfo info)
focal_class.return: void
focal_class.signature: void initMetadata(GoogleCloudStorageItemInfo info)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.initMetadata(HttpHeaders headers)
focal_class.full_signature: @VisibleForTesting protected void initMetadata(HttpHeaders headers)
focal_class.identifier: initMetadata
focal_class.modifiers: @VisibleForTesting protected
focal_class.parameters: (HttpHeaders headers)
focal_class.return: void
focal_class.signature: void initMetadata(HttpHeaders headers)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.initMetadata(@Nullable String encoding, long sizeFromMetadata, long generation)
focal_class.full_signature: @VisibleForTesting protected void initMetadata(@Nullable String encoding, long sizeFromMetadata, long generation)
focal_class.identifier: initMetadata
focal_class.modifiers: @VisibleForTesting protected
focal_class.parameters: (@Nullable String encoding, long sizeFromMetadata, long generation)
focal_class.return: void
focal_class.signature: void initMetadata(@Nullable String encoding, long sizeFromMetadata, long generation)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.cacheFooter(HttpResponse response)
focal_class.full_signature: private void cacheFooter(HttpResponse response)
focal_class.identifier: cacheFooter
focal_class.modifiers: private
focal_class.parameters: (HttpResponse response)
focal_class.return: void
focal_class.signature: void cacheFooter(HttpResponse response)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.openFooterStream()
focal_class.full_signature: private InputStream openFooterStream()
focal_class.identifier: openFooterStream
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: InputStream
focal_class.signature: InputStream openFooterStream()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.openStream(long bytesToRead)
focal_class.full_signature: protected InputStream openStream(long bytesToRead)
focal_class.identifier: openStream
focal_class.modifiers: protected
focal_class.parameters: (long bytesToRead)
focal_class.return: InputStream
focal_class.signature: InputStream openStream(long bytesToRead)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.isFooterRead()
focal_class.full_signature: private boolean isFooterRead()
focal_class.identifier: isFooterRead
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isFooterRead()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.getContentChannelPositionForFirstRead(long bytesToRead)
focal_class.full_signature: private long getContentChannelPositionForFirstRead(long bytesToRead)
focal_class.identifier: getContentChannelPositionForFirstRead
focal_class.modifiers: private
focal_class.parameters: (long bytesToRead)
focal_class.return: long
focal_class.signature: long getContentChannelPositionForFirstRead(long bytesToRead)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.handleExecuteMediaException(IOException e)
focal_class.full_signature: private HttpResponse handleExecuteMediaException(IOException e)
focal_class.identifier: handleExecuteMediaException
focal_class.modifiers: private
focal_class.parameters: (IOException e)
focal_class.return: HttpResponse
focal_class.signature: HttpResponse handleExecuteMediaException(IOException e)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.createDataRequest(String rangeHeader)
focal_class.full_signature: private Get createDataRequest(String rangeHeader)
focal_class.identifier: createDataRequest
focal_class.modifiers: private
focal_class.parameters: (String rangeHeader)
focal_class.return: Get
focal_class.signature: Get createDataRequest(String rangeHeader)
focal_class.class_method_signature: GoogleCloudStorageReadChannel.createRequest()
focal_class.full_signature: protected Get createRequest()
focal_class.identifier: createRequest
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: Get
focal_class.signature: Get createRequest()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.throwIfNotOpen()
focal_class.full_signature: private void throwIfNotOpen()
focal_class.identifier: throwIfNotOpen
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void throwIfNotOpen()
focal_class.class_method_signature: GoogleCloudStorageReadChannel.checkIOPrecondition(boolean precondition, String errorMessage)
focal_class.full_signature: private void checkIOPrecondition(boolean precondition, String errorMessage)
focal_class.identifier: checkIOPrecondition
focal_class.modifiers: private
focal_class.parameters: (boolean precondition, String errorMessage)
focal_class.return: void
focal_class.signature: void checkIOPrecondition(boolean precondition, String errorMessage)
focal_method.body: @Override
    public long size() throws IOException {
      throwIfNotOpen();
      if (!metadataInitialized) {
        initMetadata(fetchInitialMetadata());
      }
      return size;
    }
focal_method.class_method_signature: GoogleCloudStorageReadChannel.size()
focal_method.full_signature: @Override public long size()
focal_method.identifier: size
focal_method.invocations: throwIfNotOpen initMetadata fetchInitialMetadata
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: long
focal_method.signature: long size()