Interface FetchFileResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FetchFileResponse, FetchFileResponse.Builder

public interface FetchFileResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    Contains the contents of the file, unless the returned etag matches the requested etag.
    Represents the current etag of the requested file.
    com.google.protobuf.ByteString
    Represents the current etag of the requested file.
    boolean
    Represents the current etag of the requested file.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getContents

      com.google.protobuf.ByteString getContents()
       Contains the contents of the file, unless the returned etag matches the requested etag.
       
      bytes contents = 1;
      Returns:
      The contents.
    • hasEtag

      boolean hasEtag()
       Represents the current etag of the requested file. If an etag was in the request and this matches,
       contents should be ignored, and the existing client copy of the file is already correct. In all
       other cases, this etag can be used in future requests to see if the file's contents are different.
       
      optional string etag = 2;
      Returns:
      Whether the etag field is set.
    • getEtag

      String getEtag()
       Represents the current etag of the requested file. If an etag was in the request and this matches,
       contents should be ignored, and the existing client copy of the file is already correct. In all
       other cases, this etag can be used in future requests to see if the file's contents are different.
       
      optional string etag = 2;
      Returns:
      The etag.
    • getEtagBytes

      com.google.protobuf.ByteString getEtagBytes()
       Represents the current etag of the requested file. If an etag was in the request and this matches,
       contents should be ignored, and the existing client copy of the file is already correct. In all
       other cases, this etag can be used in future requests to see if the file's contents are different.
       
      optional string etag = 2;
      Returns:
      The bytes for etag.