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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComposeObjectRequest.SourceObject.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ComposeObjectRequest.SourceObject build()
buildPartial()
public ComposeObjectRequest.SourceObject buildPartial()
clear()
public ComposeObjectRequest.SourceObject.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ComposeObjectRequest.SourceObject.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGeneration()
public ComposeObjectRequest.SourceObject.Builder clearGeneration()
The generation of this object to use as the source.
int64 generation = 2;
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];
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ComposeObjectRequest.SourceObject.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ComposeObjectRequest.SourceObject.Builder clone()
Overrides
getDefaultInstanceForType()
public ComposeObjectRequest.SourceObject getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for name.
|
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public ComposeObjectRequest.SourceObject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ComposeObjectRequest.SourceObject.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(ComposeObjectRequest.SourceObject other)
public ComposeObjectRequest.SourceObject.Builder mergeFrom(ComposeObjectRequest.SourceObject other)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComposeObjectRequest.SourceObject.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ComposeObjectRequest.SourceObject.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComposeObjectRequest.SourceObject.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ComposeObjectRequest.SourceObject.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides