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.ObjectPreconditionsStatic 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 |
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> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
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 |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |