public static final class ComposeObjectRequest.SourceObject.Builder extends GeneratedMessage.Builder<ComposeObjectRequest.SourceObject.Builder> implements ComposeObjectRequest.SourceObjectOrBuilderDescription of a source object for a composition request.
Protobuf type google.storage.v2.ComposeObjectRequest.SourceObject
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ComposeObjectRequest.SourceObject.BuilderImplements
ComposeObjectRequest.SourceObjectOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ComposeObjectRequest.SourceObject build()| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject |
|
buildPartial()
public ComposeObjectRequest.SourceObject buildPartial()| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject |
|
clear()
public ComposeObjectRequest.SourceObject.Builder clear()| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.Builder |
|
clearGeneration()
public ComposeObjectRequest.SourceObject.Builder clearGeneration()Optional. The generation of this object to use as the source.
int64 generation = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.Builder |
This builder for chaining. |
clearName()
public ComposeObjectRequest.SourceObject.Builder clearName()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 |
ComposeObjectRequest.SourceObject.Builder |
This builder for chaining. |
clearObjectPreconditions()
public ComposeObjectRequest.SourceObject.Builder clearObjectPreconditions()Optional. Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.Builder |
|
getDefaultInstanceForType()
public ComposeObjectRequest.SourceObject getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGeneration()
public long getGeneration()Optional. The generation of this object to use as the source.
int64 generation = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The generation. |
getName()
public 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 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 ComposeObjectRequest.SourceObject.ObjectPreconditions getObjectPreconditions()Optional. Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.ObjectPreconditions |
The objectPreconditions. |
getObjectPreconditionsBuilder()
public ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder getObjectPreconditionsBuilder()Optional. Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder |
|
getObjectPreconditionsOrBuilder()
public ComposeObjectRequest.SourceObject.ObjectPreconditionsOrBuilder getObjectPreconditionsOrBuilder()Optional. Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.ObjectPreconditionsOrBuilder |
|
hasObjectPreconditions()
public boolean hasObjectPreconditions()Optional. Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the objectPreconditions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComposeObjectRequest.SourceObject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ComposeObjectRequest.SourceObject.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.Builder |
|
mergeFrom(ComposeObjectRequest.SourceObject other)
public ComposeObjectRequest.SourceObject.Builder mergeFrom(ComposeObjectRequest.SourceObject other)| Parameter | |
|---|---|
| Name | Description |
other |
ComposeObjectRequest.SourceObject |
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.Builder |
|
mergeObjectPreconditions(ComposeObjectRequest.SourceObject.ObjectPreconditions value)
public ComposeObjectRequest.SourceObject.Builder mergeObjectPreconditions(ComposeObjectRequest.SourceObject.ObjectPreconditions value)Optional. Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ComposeObjectRequest.SourceObject.ObjectPreconditions |
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.Builder |
|
setGeneration(long value)
public ComposeObjectRequest.SourceObject.Builder setGeneration(long value)Optional. The generation of this object to use as the source.
int64 generation = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe generation to set. |
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.Builder |
This builder for chaining. |
setName(String value)
public ComposeObjectRequest.SourceObject.Builder setName(String value)Required. The source object's name. All source objects must reside in the same bucket.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ComposeObjectRequest.SourceObject.Builder setNameBytes(ByteString value)Required. The source object's name. All source objects must reside in the same bucket.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.Builder |
This builder for chaining. |
setObjectPreconditions(ComposeObjectRequest.SourceObject.ObjectPreconditions value)
public ComposeObjectRequest.SourceObject.Builder setObjectPreconditions(ComposeObjectRequest.SourceObject.ObjectPreconditions value)Optional. Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ComposeObjectRequest.SourceObject.ObjectPreconditions |
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.Builder |
|
setObjectPreconditions(ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder builderForValue)
public ComposeObjectRequest.SourceObject.Builder setObjectPreconditions(ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder builderForValue)Optional. Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder |
| Returns | |
|---|---|
| Type | Description |
ComposeObjectRequest.SourceObject.Builder |
|