public final class UploadFileInfo extends com.google.protobuf.GeneratedMessageV3 implements UploadFileInfoOrBuilder
A resource that contains a URI to which a data file can be uploaded.Protobuf type
google.cloud.migrationcenter.v1.UploadFileInfo| Modifier and Type | Class and Description |
|---|---|
static class |
UploadFileInfo.Builder
A resource that contains a URI to which a data file can be uploaded.
|
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 |
HEADERS_FIELD_NUMBER |
static int |
SIGNED_URI_FIELD_NUMBER |
static int |
URI_EXPIRATION_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsHeaders(String key)
Output only.
|
boolean |
equals(Object obj) |
static UploadFileInfo |
getDefaultInstance() |
UploadFileInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,String> |
getHeaders()
Deprecated.
|
int |
getHeadersCount()
Output only.
|
Map<String,String> |
getHeadersMap()
Output only.
|
String |
getHeadersOrDefault(String key,
String defaultValue)
Output only.
|
String |
getHeadersOrThrow(String key)
Output only.
|
com.google.protobuf.Parser<UploadFileInfo> |
getParserForType() |
int |
getSerializedSize() |
String |
getSignedUri()
Output only.
|
com.google.protobuf.ByteString |
getSignedUriBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUriExpirationTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUriExpirationTimeOrBuilder()
Output only.
|
int |
hashCode() |
boolean |
hasUriExpirationTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static UploadFileInfo.Builder |
newBuilder() |
static UploadFileInfo.Builder |
newBuilder(UploadFileInfo prototype) |
UploadFileInfo.Builder |
newBuilderForType() |
protected UploadFileInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static UploadFileInfo |
parseDelimitedFrom(InputStream input) |
static UploadFileInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UploadFileInfo |
parseFrom(byte[] data) |
static UploadFileInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UploadFileInfo |
parseFrom(ByteBuffer data) |
static UploadFileInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UploadFileInfo |
parseFrom(com.google.protobuf.ByteString data) |
static UploadFileInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UploadFileInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UploadFileInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UploadFileInfo |
parseFrom(InputStream input) |
static UploadFileInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<UploadFileInfo> |
parser() |
UploadFileInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SIGNED_URI_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER
public static final int URI_EXPIRATION_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getSignedUri()
Output only. Upload URI for the file.
string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getSignedUri in interface UploadFileInfoOrBuilderpublic com.google.protobuf.ByteString getSignedUriBytes()
Output only. Upload URI for the file.
string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getSignedUriBytes in interface UploadFileInfoOrBuilderpublic int getHeadersCount()
UploadFileInfoOrBuilderOutput only. The headers that were used to sign the URI.
map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getHeadersCount in interface UploadFileInfoOrBuilderpublic boolean containsHeaders(String key)
Output only. The headers that were used to sign the URI.
map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
containsHeaders in interface UploadFileInfoOrBuilder@Deprecated public Map<String,String> getHeaders()
getHeadersMap() instead.getHeaders in interface UploadFileInfoOrBuilderpublic Map<String,String> getHeadersMap()
Output only. The headers that were used to sign the URI.
map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getHeadersMap in interface UploadFileInfoOrBuilderpublic String getHeadersOrDefault(String key, String defaultValue)
Output only. The headers that were used to sign the URI.
map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getHeadersOrDefault in interface UploadFileInfoOrBuilderpublic String getHeadersOrThrow(String key)
Output only. The headers that were used to sign the URI.
map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getHeadersOrThrow in interface UploadFileInfoOrBuilderpublic boolean hasUriExpirationTime()
Output only. Expiration time of the upload URI.
.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUriExpirationTime in interface UploadFileInfoOrBuilderpublic com.google.protobuf.Timestamp getUriExpirationTime()
Output only. Expiration time of the upload URI.
.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUriExpirationTime in interface UploadFileInfoOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUriExpirationTimeOrBuilder()
Output only. Expiration time of the upload URI.
.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUriExpirationTimeOrBuilder in interface UploadFileInfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static UploadFileInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UploadFileInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UploadFileInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UploadFileInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UploadFileInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UploadFileInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UploadFileInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static UploadFileInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UploadFileInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static UploadFileInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UploadFileInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static UploadFileInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic UploadFileInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UploadFileInfo.Builder newBuilder()
public static UploadFileInfo.Builder newBuilder(UploadFileInfo prototype)
public UploadFileInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UploadFileInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static UploadFileInfo getDefaultInstance()
public static com.google.protobuf.Parser<UploadFileInfo> parser()
public com.google.protobuf.Parser<UploadFileInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public UploadFileInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.