Interface ComposeObjectRequest.SourceObjectOrBuilder (2.18.0)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the objectPreconditions field is set.