Send feedback
Class ComposeObjectRequest.SourceObject.Builder (2.9.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.9.2 keyboard_arrow_down
public static final class ComposeObjectRequest . SourceObject . Builder extends GeneratedMessageV3 . Builder<ComposeObjectRequest . SourceObject . Builder > implements ComposeObjectRequest . SourceObjectOrBuilder
Description of a source object for a composition request.
Protobuf type google.storage.v2.ComposeObjectRequest.SourceObject
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComposeObjectRequest . SourceObject . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ComposeObjectRequest . SourceObject build ()
Returns
buildPartial()
public ComposeObjectRequest . SourceObject buildPartial ()
Returns
clear()
public ComposeObjectRequest . SourceObject . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ComposeObjectRequest . SourceObject . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearGeneration()
public ComposeObjectRequest . SourceObject . Builder clearGeneration ()
The generation of this object to use as the source.
int64 generation = 2;
Returns
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
clearObjectPreconditions()
public ComposeObjectRequest . SourceObject . Builder clearObjectPreconditions ()
Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ComposeObjectRequest . SourceObject . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public ComposeObjectRequest . SourceObject . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ComposeObjectRequest . SourceObject getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getGeneration()
public long getGeneration ()
The generation of this object to use as the source.
int64 generation = 2;
Returns
Type Description long The generation.
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
getObjectPreconditions()
public ComposeObjectRequest . SourceObject . ObjectPreconditions getObjectPreconditions ()
Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3;
Returns
getObjectPreconditionsBuilder()
public ComposeObjectRequest . SourceObject . ObjectPreconditions . Builder getObjectPreconditionsBuilder ()
Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3;
Returns
getObjectPreconditionsOrBuilder()
public ComposeObjectRequest . SourceObject . ObjectPreconditionsOrBuilder getObjectPreconditionsOrBuilder ()
Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3;
Returns
hasObjectPreconditions()
public 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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
public ComposeObjectRequest . SourceObject . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ComposeObjectRequest . SourceObject . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeFrom(ComposeObjectRequest.SourceObject other)
public ComposeObjectRequest . SourceObject . Builder mergeFrom ( ComposeObjectRequest . SourceObject other )
Parameter
Returns
mergeObjectPreconditions(ComposeObjectRequest.SourceObject.ObjectPreconditions value)
public ComposeObjectRequest . SourceObject . Builder mergeObjectPreconditions ( ComposeObjectRequest . SourceObject . ObjectPreconditions value )
Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComposeObjectRequest . SourceObject . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ComposeObjectRequest . SourceObject . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setGeneration(long value)
public ComposeObjectRequest . SourceObject . Builder setGeneration ( long value )
The generation of this object to use as the source.
int64 generation = 2;
Parameter
Name Description value long
The generation to set.
Returns
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 String
The name to set.
Returns
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 ByteString
The bytes for name to set.
Returns
setObjectPreconditions(ComposeObjectRequest.SourceObject.ObjectPreconditions value)
public ComposeObjectRequest . SourceObject . Builder setObjectPreconditions ( ComposeObjectRequest . SourceObject . ObjectPreconditions value )
Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3;
Parameter
Returns
setObjectPreconditions(ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder builderForValue)
public ComposeObjectRequest . SourceObject . Builder setObjectPreconditions ( ComposeObjectRequest . SourceObject . ObjectPreconditions . Builder builderForValue )
Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComposeObjectRequest . SourceObject . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ComposeObjectRequest . SourceObject . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]