public final class GenerateUploadUrlResponse extends com.google.protobuf.GeneratedMessageV3 implements GenerateUploadUrlResponseOrBuilder
Response of `GenerateSourceUploadUrl` method.Protobuf type
google.cloud.functions.v2beta.GenerateUploadUrlResponse| Modifier and Type | Class and Description |
|---|---|
static class |
GenerateUploadUrlResponse.Builder
Response of `GenerateSourceUploadUrl` method.
|
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 |
STORAGE_SOURCE_FIELD_NUMBER |
static int |
UPLOAD_URL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static GenerateUploadUrlResponse |
getDefaultInstance() |
GenerateUploadUrlResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<GenerateUploadUrlResponse> |
getParserForType() |
int |
getSerializedSize() |
StorageSource |
getStorageSource()
The location of the source code in the upload bucket.
|
StorageSourceOrBuilder |
getStorageSourceOrBuilder()
The location of the source code in the upload bucket.
|
String |
getUploadUrl()
The generated Google Cloud Storage signed URL that should be used for a
function source code upload.
|
com.google.protobuf.ByteString |
getUploadUrlBytes()
The generated Google Cloud Storage signed URL that should be used for a
function source code upload.
|
int |
hashCode() |
boolean |
hasStorageSource()
The location of the source code in the upload bucket.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GenerateUploadUrlResponse.Builder |
newBuilder() |
static GenerateUploadUrlResponse.Builder |
newBuilder(GenerateUploadUrlResponse prototype) |
GenerateUploadUrlResponse.Builder |
newBuilderForType() |
protected GenerateUploadUrlResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GenerateUploadUrlResponse |
parseDelimitedFrom(InputStream input) |
static GenerateUploadUrlResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenerateUploadUrlResponse |
parseFrom(byte[] data) |
static GenerateUploadUrlResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenerateUploadUrlResponse |
parseFrom(ByteBuffer data) |
static GenerateUploadUrlResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenerateUploadUrlResponse |
parseFrom(com.google.protobuf.ByteString data) |
static GenerateUploadUrlResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenerateUploadUrlResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GenerateUploadUrlResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenerateUploadUrlResponse |
parseFrom(InputStream input) |
static GenerateUploadUrlResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GenerateUploadUrlResponse> |
parser() |
GenerateUploadUrlResponse.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, internalGetMapField, 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 UPLOAD_URL_FIELD_NUMBER
public static final int STORAGE_SOURCE_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getUploadUrl()
The generated Google Cloud Storage signed URL that should be used for a function source code upload. The uploaded file should be a zip archive which contains a function.
string upload_url = 1;getUploadUrl in interface GenerateUploadUrlResponseOrBuilderpublic com.google.protobuf.ByteString getUploadUrlBytes()
The generated Google Cloud Storage signed URL that should be used for a function source code upload. The uploaded file should be a zip archive which contains a function.
string upload_url = 1;getUploadUrlBytes in interface GenerateUploadUrlResponseOrBuilderpublic boolean hasStorageSource()
The location of the source code in the upload bucket. Once the archive is uploaded using the `upload_url` use this field to set the `function.build_config.source.storage_source` during CreateFunction and UpdateFunction. Generation defaults to 0, as Cloud Storage provides a new generation only upon uploading a new object or version of an object.
.google.cloud.functions.v2beta.StorageSource storage_source = 2;hasStorageSource in interface GenerateUploadUrlResponseOrBuilderpublic StorageSource getStorageSource()
The location of the source code in the upload bucket. Once the archive is uploaded using the `upload_url` use this field to set the `function.build_config.source.storage_source` during CreateFunction and UpdateFunction. Generation defaults to 0, as Cloud Storage provides a new generation only upon uploading a new object or version of an object.
.google.cloud.functions.v2beta.StorageSource storage_source = 2;getStorageSource in interface GenerateUploadUrlResponseOrBuilderpublic StorageSourceOrBuilder getStorageSourceOrBuilder()
The location of the source code in the upload bucket. Once the archive is uploaded using the `upload_url` use this field to set the `function.build_config.source.storage_source` during CreateFunction and UpdateFunction. Generation defaults to 0, as Cloud Storage provides a new generation only upon uploading a new object or version of an object.
.google.cloud.functions.v2beta.StorageSource storage_source = 2;getStorageSourceOrBuilder in interface GenerateUploadUrlResponseOrBuilderpublic 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 GenerateUploadUrlResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenerateUploadUrlResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenerateUploadUrlResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenerateUploadUrlResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenerateUploadUrlResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenerateUploadUrlResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenerateUploadUrlResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static GenerateUploadUrlResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GenerateUploadUrlResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GenerateUploadUrlResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GenerateUploadUrlResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GenerateUploadUrlResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GenerateUploadUrlResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GenerateUploadUrlResponse.Builder newBuilder()
public static GenerateUploadUrlResponse.Builder newBuilder(GenerateUploadUrlResponse prototype)
public GenerateUploadUrlResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GenerateUploadUrlResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GenerateUploadUrlResponse getDefaultInstance()
public static com.google.protobuf.Parser<GenerateUploadUrlResponse> parser()
public com.google.protobuf.Parser<GenerateUploadUrlResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GenerateUploadUrlResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.