public static final class ComposeObjectRequest.SourceObject.ObjectPreconditions extends GeneratedMessageV3 implements ComposeObjectRequest.SourceObject.ObjectPreconditionsOrBuilder
Preconditions for a source object of a composition request.
Protobuf type google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
IF_GENERATION_MATCH_FIELD_NUMBER
public static final int IF_GENERATION_MATCH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ComposeObjectRequest.SourceObject.ObjectPreconditions getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilder()
newBuilder(ComposeObjectRequest.SourceObject.ObjectPreconditions prototype)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilder(ComposeObjectRequest.SourceObject.ObjectPreconditions prototype)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseDelimitedFrom(InputStream input)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(CodedInputStream input)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(InputStream input)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ComposeObjectRequest.SourceObject.ObjectPreconditions> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ComposeObjectRequest.SourceObject.ObjectPreconditions getDefaultInstanceForType()
getIfGenerationMatch()
public long getIfGenerationMatch()
Only perform the composition if the generation of the source object
that would be used matches this value. If this value and a generation
are both specified, they must be the same value or the call will fail.
optional int64 if_generation_match = 1;
Returns |
Type |
Description |
long |
The ifGenerationMatch.
|
getParserForType()
public Parser<ComposeObjectRequest.SourceObject.ObjectPreconditions> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasIfGenerationMatch()
public boolean hasIfGenerationMatch()
Only perform the composition if the generation of the source object
that would be used matches this value. If this value and a generation
are both specified, they must be the same value or the call will fail.
optional int64 if_generation_match = 1;
Returns |
Type |
Description |
boolean |
Whether the ifGenerationMatch field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides