public interface WriteObjectSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
long |
getIfGenerationMatch()
Makes the operation conditional on whether the object's current
generation matches the given value.
|
long |
getIfGenerationNotMatch()
Makes the operation conditional on whether the object's current
generation does not match the given value.
|
long |
getIfMetagenerationMatch()
Makes the operation conditional on whether the object's current
metageneration matches the given value.
|
long |
getIfMetagenerationNotMatch()
Makes the operation conditional on whether the object's current
metageneration does not match the given value.
|
PredefinedObjectAcl |
getPredefinedAcl()
Apply a predefined set of access controls to this object.
|
int |
getPredefinedAclValue()
Apply a predefined set of access controls to this object.
|
Object |
getResource()
Destination object, including its name and its metadata.
|
ObjectOrBuilder |
getResourceOrBuilder()
Destination object, including its name and its metadata.
|
boolean |
hasIfGenerationMatch()
Makes the operation conditional on whether the object's current
generation matches the given value.
|
boolean |
hasIfGenerationNotMatch()
Makes the operation conditional on whether the object's current
generation does not match the given value.
|
boolean |
hasIfMetagenerationMatch()
Makes the operation conditional on whether the object's current
metageneration matches the given value.
|
boolean |
hasIfMetagenerationNotMatch()
Makes the operation conditional on whether the object's current
metageneration does not match the given value.
|
boolean |
hasResource()
Destination object, including its name and its metadata.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasResource()
Destination object, including its name and its metadata.
.google.storage.v2.Object resource = 1;Object getResource()
Destination object, including its name and its metadata.
.google.storage.v2.Object resource = 1;ObjectOrBuilder getResourceOrBuilder()
Destination object, including its name and its metadata.
.google.storage.v2.Object resource = 1;int getPredefinedAclValue()
Apply a predefined set of access controls to this object.
.google.storage.v2.PredefinedObjectAcl predefined_acl = 2;PredefinedObjectAcl getPredefinedAcl()
Apply a predefined set of access controls to this object.
.google.storage.v2.PredefinedObjectAcl predefined_acl = 2;boolean hasIfGenerationMatch()
Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
optional int64 if_generation_match = 3;long getIfGenerationMatch()
Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
optional int64 if_generation_match = 3;boolean hasIfGenerationNotMatch()
Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
optional int64 if_generation_not_match = 4;long getIfGenerationNotMatch()
Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
optional int64 if_generation_not_match = 4;boolean hasIfMetagenerationMatch()
Makes the operation conditional on whether the object's current metageneration matches the given value.
optional int64 if_metageneration_match = 5;long getIfMetagenerationMatch()
Makes the operation conditional on whether the object's current metageneration matches the given value.
optional int64 if_metageneration_match = 5;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 = 6;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 = 6;Copyright © 2021 Google LLC. All rights reserved.