public abstract class ObjectWriteConditions extends Object
IfGenerationMatch and IfMetaGenerationMatch in API requests.| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectWriteConditions.Builder |
| Modifier and Type | Field and Description |
|---|---|
static ObjectWriteConditions |
NONE
No conditions for completing the write.
|
| Constructor and Description |
|---|
ObjectWriteConditions() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(com.google.api.services.storage.Storage.Objects.Insert objectToInsert)
Apply the conditions represented by this object to an Insert operation.
|
static ObjectWriteConditions.Builder |
builder() |
abstract Long |
getContentGenerationMatch() |
abstract Long |
getMetaGenerationMatch() |
boolean |
hasContentGenerationMatch() |
boolean |
hasMetaGenerationMatch() |
abstract ObjectWriteConditions.Builder |
toBuilder() |
public static final ObjectWriteConditions NONE
public static ObjectWriteConditions.Builder builder()
public abstract ObjectWriteConditions.Builder toBuilder()
public boolean hasMetaGenerationMatch()
public boolean hasContentGenerationMatch()
public void apply(com.google.api.services.storage.Storage.Objects.Insert objectToInsert)
Copyright © 2023. All rights reserved.