public interface AppendObjectSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBucket()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The bucket. |
getBucketBytes()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for bucket. |
getGeneration()
public abstract long getGeneration()Required. The generation number of the object to open for writing.
int64 generation = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The generation. |
getIfMetagenerationMatch()
public abstract long getIfMetagenerationMatch()Makes the operation conditional on whether the object's current metageneration matches the given value.
Note that metageneration preconditions are only checked if write_handle
is empty.
optional int64 if_metageneration_match = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The ifMetagenerationMatch. |
getIfMetagenerationNotMatch()
public abstract long getIfMetagenerationNotMatch()Makes the operation conditional on whether the object's current metageneration does not match the given value.
Note that metageneration preconditions are only checked if write_handle
is empty.
optional int64 if_metageneration_not_match = 5;
| Returns | |
|---|---|
| Type | Description |
long |
The ifMetagenerationNotMatch. |
getObject()
public abstract String getObject()Required. The name of the object to open for writing.
string object = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The object. |
getObjectBytes()
public abstract ByteString getObjectBytes()Required. The name of the object to open for writing.
string object = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for object. |
getRoutingToken()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The routingToken. |
getRoutingTokenBytes()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for routingToken. |
getWriteHandle()
public abstract BidiWriteHandle getWriteHandle()An optional write handle returned from a previous BidiWriteObjectResponse message or a BidiWriteObjectRedirectedError error.
Note that metageneration preconditions are only checked if write_handle
is empty.
optional .google.storage.v2.BidiWriteHandle write_handle = 7;
| Returns | |
|---|---|
| Type | Description |
BidiWriteHandle |
The writeHandle. |
getWriteHandleOrBuilder()
public abstract BidiWriteHandleOrBuilder getWriteHandleOrBuilder()An optional write handle returned from a previous BidiWriteObjectResponse message or a BidiWriteObjectRedirectedError error.
Note that metageneration preconditions are only checked if write_handle
is empty.
optional .google.storage.v2.BidiWriteHandle write_handle = 7;
| Returns | |
|---|---|
| Type | Description |
BidiWriteHandleOrBuilder |
|
hasIfMetagenerationMatch()
public abstract boolean hasIfMetagenerationMatch()Makes the operation conditional on whether the object's current metageneration matches the given value.
Note that metageneration preconditions are only checked if write_handle
is empty.
optional int64 if_metageneration_match = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ifMetagenerationMatch field is set. |
hasIfMetagenerationNotMatch()
public abstract boolean hasIfMetagenerationNotMatch()Makes the operation conditional on whether the object's current metageneration does not match the given value.
Note that metageneration preconditions are only checked if write_handle
is empty.
optional int64 if_metageneration_not_match = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ifMetagenerationNotMatch field is set. |
hasRoutingToken()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the routingToken field is set. |
hasWriteHandle()
public abstract boolean hasWriteHandle()An optional write handle returned from a previous BidiWriteObjectResponse message or a BidiWriteObjectRedirectedError error.
Note that metageneration preconditions are only checked if write_handle
is empty.
optional .google.storage.v2.BidiWriteHandle write_handle = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the writeHandle field is set. |