Class ComposeObjectRequest.SourceObject.ObjectPreconditions (2.37.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ComposeObjectRequest.SourceObject.ObjectPreconditions

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()
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilder()
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder

newBuilder(ComposeObjectRequest.SourceObject.ObjectPreconditions prototype)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilder(ComposeObjectRequest.SourceObject.ObjectPreconditions prototype)
Parameter
Name Description
prototype ComposeObjectRequest.SourceObject.ObjectPreconditions
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder

parseDelimitedFrom(InputStream input)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ComposeObjectRequest.SourceObject.ObjectPreconditions> parser()
Returns
Type Description
Parser<ObjectPreconditions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ComposeObjectRequest.SourceObject.ObjectPreconditions getDefaultInstanceForType()
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions

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()
Returns
Type Description
Parser<ObjectPreconditions>
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilderForType()
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder toBuilder()
Returns
Type Description
ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException