public final class RewriteResponse extends com.google.protobuf.GeneratedMessageV3 implements RewriteResponseOrBuilder
A rewrite response.Protobuf type
google.storage.v2.RewriteResponse
Modifier and Type | Class and Description |
---|---|
static class |
RewriteResponse.Builder
A rewrite response.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
DONE_FIELD_NUMBER |
static int |
OBJECT_SIZE_FIELD_NUMBER |
static int |
RESOURCE_FIELD_NUMBER |
static int |
REWRITE_TOKEN_FIELD_NUMBER |
static int |
TOTAL_BYTES_REWRITTEN_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static RewriteResponse |
getDefaultInstance() |
RewriteResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getDone()
`true` if the copy is finished; otherwise, `false` if
the copy is in progress.
|
long |
getObjectSize()
The total size of the object being copied in bytes.
|
com.google.protobuf.Parser<RewriteResponse> |
getParserForType() |
Object |
getResource()
A resource containing the metadata for the copied-to object.
|
ObjectOrBuilder |
getResourceOrBuilder()
A resource containing the metadata for the copied-to object.
|
String |
getRewriteToken()
A token to use in subsequent requests to continue copying data.
|
com.google.protobuf.ByteString |
getRewriteTokenBytes()
A token to use in subsequent requests to continue copying data.
|
int |
getSerializedSize() |
long |
getTotalBytesRewritten()
The total bytes written so far, which can be used to provide a waiting user
with a progress indicator.
|
int |
hashCode() |
boolean |
hasResource()
A resource containing the metadata for the copied-to object.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RewriteResponse.Builder |
newBuilder() |
static RewriteResponse.Builder |
newBuilder(RewriteResponse prototype) |
RewriteResponse.Builder |
newBuilderForType() |
protected RewriteResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RewriteResponse |
parseDelimitedFrom(InputStream input) |
static RewriteResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RewriteResponse |
parseFrom(byte[] data) |
static RewriteResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RewriteResponse |
parseFrom(ByteBuffer data) |
static RewriteResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RewriteResponse |
parseFrom(com.google.protobuf.ByteString data) |
static RewriteResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RewriteResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RewriteResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RewriteResponse |
parseFrom(InputStream input) |
static RewriteResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RewriteResponse> |
parser() |
RewriteResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int TOTAL_BYTES_REWRITTEN_FIELD_NUMBER
public static final int OBJECT_SIZE_FIELD_NUMBER
public static final int DONE_FIELD_NUMBER
public static final int REWRITE_TOKEN_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public long getTotalBytesRewritten()
The total bytes written so far, which can be used to provide a waiting user with a progress indicator. This property is always present in the response.
int64 total_bytes_rewritten = 1;
getTotalBytesRewritten
in interface RewriteResponseOrBuilder
public long getObjectSize()
The total size of the object being copied in bytes. This property is always present in the response.
int64 object_size = 2;
getObjectSize
in interface RewriteResponseOrBuilder
public boolean getDone()
`true` if the copy is finished; otherwise, `false` if the copy is in progress. This property is always present in the response.
bool done = 3;
getDone
in interface RewriteResponseOrBuilder
public String getRewriteToken()
A token to use in subsequent requests to continue copying data. This token is present in the response only when there is more data to copy.
string rewrite_token = 4;
getRewriteToken
in interface RewriteResponseOrBuilder
public com.google.protobuf.ByteString getRewriteTokenBytes()
A token to use in subsequent requests to continue copying data. This token is present in the response only when there is more data to copy.
string rewrite_token = 4;
getRewriteTokenBytes
in interface RewriteResponseOrBuilder
public boolean hasResource()
A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes.
.google.storage.v2.Object resource = 5;
hasResource
in interface RewriteResponseOrBuilder
public Object getResource()
A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes.
.google.storage.v2.Object resource = 5;
getResource
in interface RewriteResponseOrBuilder
public ObjectOrBuilder getResourceOrBuilder()
A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes.
.google.storage.v2.Object resource = 5;
getResourceOrBuilder
in interface RewriteResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static RewriteResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RewriteResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RewriteResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RewriteResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RewriteResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RewriteResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RewriteResponse parseFrom(InputStream input) throws IOException
IOException
public static RewriteResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RewriteResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RewriteResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RewriteResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RewriteResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public RewriteResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RewriteResponse.Builder newBuilder()
public static RewriteResponse.Builder newBuilder(RewriteResponse prototype)
public RewriteResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RewriteResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static RewriteResponse getDefaultInstance()
public static com.google.protobuf.Parser<RewriteResponse> parser()
public com.google.protobuf.Parser<RewriteResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public RewriteResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023 Google LLC. All rights reserved.