Interface ComposeObjectRequest.SourceObjectOrBuilder (2.22.1)

public static interface ComposeObjectRequest.SourceObjectOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGeneration()

public abstract long getGeneration()

The generation of this object to use as the source.

int64 generation = 2;

Returns
TypeDescription
long

The generation.

getName()

public abstract String getName()

Required. The source object's name. All source objects must reside in the same bucket.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The source object's name. All source objects must reside in the same bucket.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getObjectPreconditions()

public abstract ComposeObjectRequest.SourceObject.ObjectPreconditions getObjectPreconditions()

Conditions that must be met for this operation to execute.

.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3;

Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions

The objectPreconditions.

getObjectPreconditionsOrBuilder()

public abstract ComposeObjectRequest.SourceObject.ObjectPreconditionsOrBuilder getObjectPreconditionsOrBuilder()

Conditions that must be met for this operation to execute.

.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3;

Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditionsOrBuilder

hasObjectPreconditions()

public abstract boolean hasObjectPreconditions()

Conditions that must be met for this operation to execute.

.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3;

Returns
TypeDescription
boolean

Whether the objectPreconditions field is set.