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
Static Fields
IF_GENERATION_MATCH_FIELD_NUMBER
public static final int IF_GENERATION_MATCH_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ComposeObjectRequest.SourceObject.ObjectPreconditions getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilder()
Returns
newBuilder(ComposeObjectRequest.SourceObject.ObjectPreconditions prototype)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilder(ComposeObjectRequest.SourceObject.ObjectPreconditions prototype)
Parameter
Returns
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComposeObjectRequest.SourceObject.ObjectPreconditions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ComposeObjectRequest.SourceObject.ObjectPreconditions> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ComposeObjectRequest.SourceObject.ObjectPreconditions getDefaultInstanceForType()
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions