Class ComposeObjectRequest.SourceObject.ObjectPreconditions (2.9.1)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ComposeObjectRequest.SourceObject.ObjectPreconditions getDefaultInstance()
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilder()
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder

newBuilder(ComposeObjectRequest.SourceObject.ObjectPreconditions prototype)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilder(ComposeObjectRequest.SourceObject.ObjectPreconditions prototype)
Parameter
NameDescription
prototypeComposeObjectRequest.SourceObject.ObjectPreconditions
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder

parseDelimitedFrom(InputStream input)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ComposeObjectRequest.SourceObject.ObjectPreconditions getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
long

The ifGenerationMatch.

getParserForType()

public Parser<ComposeObjectRequest.SourceObject.ObjectPreconditions> getParserForType()
Returns
TypeDescription
Parser<ObjectPreconditions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

Whether the ifGenerationMatch field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilderForType()
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder toBuilder()
Returns
TypeDescription
ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException