Interface GenerateUploadUrlResponseOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    GenerateUploadUrlResponse, GenerateUploadUrlResponse.Builder

    public interface GenerateUploadUrlResponseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      boolean hasStorageSource()
      The location of the source code in the upload bucket.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getUploadUrl

        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;
        Returns:
        The uploadUrl.
      • getUploadUrlBytes

        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;
        Returns:
        The bytes for uploadUrl.
      • hasStorageSource

        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.v2.StorageSource storage_source = 2;
        Returns:
        Whether the storageSource field is set.
      • getStorageSource

        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.v2.StorageSource storage_source = 2;
        Returns:
        The storageSource.
      • getStorageSourceOrBuilder

        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.v2.StorageSource storage_source = 2;