Interface AppendObjectSpecOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    long
    Required.
    long
    Makes the operation conditional on whether the object's current metageneration matches the given value.
    long
    Makes the operation conditional on whether the object's current metageneration does not match the given value.
    Required.
    com.google.protobuf.ByteString
    Required.
    An optional routing token that influences request routing for the stream.
    com.google.protobuf.ByteString
    An optional routing token that influences request routing for the stream.
    An optional write handle returned from a previous BidiWriteObjectResponse message or a BidiWriteObjectRedirectedError error.
    An optional write handle returned from a previous BidiWriteObjectResponse message or a BidiWriteObjectRedirectedError error.
    boolean
    Makes the operation conditional on whether the object's current metageneration matches the given value.
    boolean
    Makes the operation conditional on whether the object's current metageneration does not match the given value.
    boolean
    An optional routing token that influences request routing for the stream.
    boolean
    An optional write handle returned from a previous BidiWriteObjectResponse message or a BidiWriteObjectRedirectedError error.

    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

    • getBucket

      String getBucket()
       Required. The name of the bucket containing the object to write.
       
      string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bucket.
    • getBucketBytes

      com.google.protobuf.ByteString getBucketBytes()
       Required. The name of the bucket containing the object to write.
       
      string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for bucket.
    • getObject

      String getObject()
       Required. The name of the object to open for writing.
       
      string object = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The object.
    • getObjectBytes

      com.google.protobuf.ByteString getObjectBytes()
       Required. The name of the object to open for writing.
       
      string object = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for object.
    • getGeneration

      long getGeneration()
       Required. The generation number of the object to open for writing.
       
      int64 generation = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The generation.
    • hasIfMetagenerationMatch

      boolean hasIfMetagenerationMatch()
       Makes the operation conditional on whether the object's current
       metageneration matches the given value.
       
      optional int64 if_metageneration_match = 4;
      Returns:
      Whether the ifMetagenerationMatch field is set.
    • getIfMetagenerationMatch

      long getIfMetagenerationMatch()
       Makes the operation conditional on whether the object's current
       metageneration matches the given value.
       
      optional int64 if_metageneration_match = 4;
      Returns:
      The ifMetagenerationMatch.
    • hasIfMetagenerationNotMatch

      boolean hasIfMetagenerationNotMatch()
       Makes the operation conditional on whether the object's current
       metageneration does not match the given value.
       
      optional int64 if_metageneration_not_match = 5;
      Returns:
      Whether the ifMetagenerationNotMatch field is set.
    • getIfMetagenerationNotMatch

      long getIfMetagenerationNotMatch()
       Makes the operation conditional on whether the object's current
       metageneration does not match the given value.
       
      optional int64 if_metageneration_not_match = 5;
      Returns:
      The ifMetagenerationNotMatch.
    • hasRoutingToken

      boolean hasRoutingToken()
       An optional routing token that influences request routing for the stream.
       Must be provided if a BidiWriteObjectRedirectedError is returned.
       
      optional string routing_token = 6;
      Returns:
      Whether the routingToken field is set.
    • getRoutingToken

      String getRoutingToken()
       An optional routing token that influences request routing for the stream.
       Must be provided if a BidiWriteObjectRedirectedError is returned.
       
      optional string routing_token = 6;
      Returns:
      The routingToken.
    • getRoutingTokenBytes

      com.google.protobuf.ByteString getRoutingTokenBytes()
       An optional routing token that influences request routing for the stream.
       Must be provided if a BidiWriteObjectRedirectedError is returned.
       
      optional string routing_token = 6;
      Returns:
      The bytes for routingToken.
    • hasWriteHandle

      boolean hasWriteHandle()
       An optional write handle returned from a previous BidiWriteObjectResponse
       message or a BidiWriteObjectRedirectedError error.
       
      optional .google.storage.v2.BidiWriteHandle write_handle = 7;
      Returns:
      Whether the writeHandle field is set.
    • getWriteHandle

      BidiWriteHandle getWriteHandle()
       An optional write handle returned from a previous BidiWriteObjectResponse
       message or a BidiWriteObjectRedirectedError error.
       
      optional .google.storage.v2.BidiWriteHandle write_handle = 7;
      Returns:
      The writeHandle.
    • getWriteHandleOrBuilder

      BidiWriteHandleOrBuilder getWriteHandleOrBuilder()
       An optional write handle returned from a previous BidiWriteObjectResponse
       message or a BidiWriteObjectRedirectedError error.
       
      optional .google.storage.v2.BidiWriteHandle write_handle = 7;